Object Model Reference : Classes : S : SeparationPlates : Properties : SeparationPlates.Count |
Property Count As Long
Member of SeparationPlates
The Count property returns the number of items in a SeparationPlates collection.
The Count property returns a read-only value.
The following VBA example displays the number of plates in the collection.
Sub Test() |
Select Case ActiveDocument.PrintSettings.Separations.Plates.Count |
Case 0 |
MsgBox "There are no plates to print" |
Case 1 |
MsgBox "There's 1 plate to print" |
Case Else |
MsgBox "There are " & _ |
ActiveDocument.PrintSettings.Separations.Plates.Count & _ |
" plates to print" |
End Select |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.