Object Model Reference : Classes : T : TrapLayers : Properties : TrapLayers.Count |
Property Count As Long
Member of TrapLayers
The Count property returns the number of plates for color trapping that are in a TrapLayers collection.
The Count property returns a read-only value.
The following VBA example displays the number of trap layers in the collection.
Sub Test() |
With ActiveDocument |
With .PrintSettings.Trapping.Layers |
MsgBox "There are " & .Count & " trap layers in the collection." |
End With |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.