Previous Document Next Document

Object Model Reference : Classes : T : TrapLayer : Properties : TrapLayer.Color


TrapLayer.Color

Property Color As String

Description

Member of TrapLayer

The Color property returns the color of a plate.

The Color property returns a read-only value.

VBA example

The following VBA example displays a list of colors for trap layers.

Sub Test()
 Dim intCounter As Integer
 Dim s As String
 With ActiveDocument.PrintSettings.Trapping
  For intCounter = 1 To .Layers.Count - 1
   s = s & .Layers.Item(intCounter).Color & vbCr
  Next intCounter
 End With
 MsgBox s
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.