Previous Document Next Document

Object Model Reference : Classes : T : TrapLayers : Properties : TrapLayers.Count


TrapLayers.Count

Property Count As Long

Description

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.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.