Previous Document Next Document
TrapLayers.Count

Property Count As Long

Member of TrapLayers

The Count property returns the number of plates for color trapping that are in the collection.

The Count property returns a read-only value.

The following code example displays the number of items 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.