Previous Document Next Document

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


SeparationPlates.Item

Property Item(Index As Long) As SeparationPlate

Description

Member of SeparationPlates

The Item property returns a SeparationPlate value that represents the given color separation plate in a SeparationPlates collection.

Item is the default property of the SeparationPlates class, and its reference can be omitted when you are accessing items in a SeparationPlates collection. For example, SeparationPlates.Item(2) is the same as SeparationPlates(2) — they both reference the second segment object in the collection.

The Item property returns a read-only value.

Parameter
Description
Index
Specifies the separation plate by its index number

VBA example

The following VBA example lists the colors of the separation plates in the collection.

Sub Test()
 Dim strPlates As String
 Dim Plate As SeparationPlate
 Dim intPlateCounter As Integer
 With ActiveDocument.PrintSettings.Separations
  For intPlateCounter = 1 To .Plates.Count - 1
   If .Plates(intPlateCounter).Enabled = True Then
    strPlates = strPlates & .Plates(intPlateCounter).Color & vbCr
   End If
  Next intPlateCounter
  MsgBox strPlates
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.