Share via


Document.CreatePlateCollection Method

Publisher Developer Reference

Returns a Plates collection that represents a new collection of plates for commercial print separations.

Syntax

expression.CreatePlateCollection(Mode)

expression   A variable that represents a Document object.

Parameters

Name Required/Optional Data Type Description
Mode Required PbColorMode Indicates the type of plates to create.

Return Value
Plates

Remarks

The Mode parameter can be one of the following PbColorMode constants declared in the Microsoft Office Publisher type library.

pbColorModeBW
pbColorModeDesktop
pbColorModeProcess
pbColorModeSpot
pbColorModeSpotAndProcess

Example

This example creates a new spot-color plate collection and adds a plate to it.

Visual Basic for Applications
  Sub AddNewPlates()
    Dim plts As Plates
    Set plts = ActiveDocument.CreatePlateCollection(pbColorModeSpot)
    plts.Add
    With plts(1)
        .Color.RGB = RGB(Red:=255, Green:=0, Blue:=0)
        .Luminance = 4
    End With
End Sub

See Also