Object Model Reference : Classes : T : TrapLayer : Properties : TrapLayer.Color |
Property Color As String
Member of TrapLayer
The Color property returns the color of a plate.
The Color property returns a read-only value.
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 |
Copyright 2013 Corel Corporation. All rights reserved.