Previous Document Next Document

Object Model Reference : Classes : S : SeparationPlates : Properties : SeparationPlates.Count


SeparationPlates.Count

Property Count As Long

Description

Member of SeparationPlates

The Count property returns the number of items in a SeparationPlates collection.

The Count property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.