Plates object (Publisher)
A collection of Plate objects in a publication.
Remarks
The Plates collection is made up of Plate objects for the various publication color modes. Each publication can only use one color mode. For example, you can't specify the spot-color mode in a procedure and then later specify the process-color mode.
Use the Add method to add a new plate to the Plates collection.
Use the FindPlateByInkName method to return a specific plate by referencing its ink name. Process colors are assigned different index numbers in the Plates collection than in the PrintablePlates collection.
Use the FindPlateByInkName method to ensure that the desired Plate object is accessed.
Example
This example creates a new spot-color plate collection and adds a plate to it.
Sub AddNewPlates()
Dim plts As Plates
Set plts = ActiveDocument.CreatePlateCollection(Mode:=pbColorModeSpot)
plts.Add
With plts(1)
.Color.RGB = RGB(Red:=255, Green:=0, Blue:=0)
.Luminance = 4
End With
End Sub
This example creates a spot-color plate collection, adds two plates to it, and then enters those plates into the spot-color mode.
Sub CreateSpotColorMode()
Dim plArray As Plates
With ThisDocument
'Creates a color plate collection,
'which contains one black plate by default
Set plArray = .CreatePlateCollection(Mode:=pbColorModeSpot)
'Sets the plate color to red
plArray(1).Color.RGB = RGB(255, 0, 0)
'Adds another plate, black by default and
'sets the plate color to green
plArray.Add
plArray(2).Color.RGB = RGB(0, 255, 0)
'Enters spot-color mode with above
'two plates in the plates array
.EnterColorMode Mode:=pbColorModeSpot, Plates:=plArray
End With
End Sub
Methods
Properties
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.