Object Model Reference : Classes : T : TrapLayers : Properties : TrapLayers.Item |
Property Item(Index As Long) As TrapLayer
Member of TrapLayers
The Item property returns a read-only reference to a specified plate in a TrapLayers collection.
Parameter
|
Description
|
Index
|
Specifies the preset placeholder that uniquely identifies each member of the TrapLayers collection
|
The following VBA example displays a list of all the trap layers in the collection.
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.