Share via


Plates.FindPlateByInkName Method

Publisher Developer Reference

Returns a Plate object that represents the plate of the specified ink name.

Version Information
 Version Added:  Publisher 2007

Syntax

expression.FindPlateByInkName(InkName)

expression   An expression that returns a Plates object.

Parameters

Name Required/Optional Data Type Description
InkName Required PbInkName Specifies the plate to return.

Return Value
Plate

Remarks

The InkName parameter can be one of the PbInkName constants declared in the Microsoft Office Publisher type library.

Process colors are assigned different index numbers in the Plates collection than in the PrintablePlates collection. Use the FindPlateByInkName method to insure that the desired Plate or PrintablePlate object is accessed.

Example

The following example returns properties for the plate representing the third spot color defined for the active publication.

Visual Basic for Applications
  Sub ListPlatePropertiesByInkName()
Dim pplPlate As Plate
Set pplPlate = ActiveDocument.Plates.<strong>FindPlateByInkName</strong>(pbInkNameSpot3)

With pplPlate
        Debug.Print "Plate Name: " &amp; .Name
        Debug.Print "Index: " &amp; .Index
        Debug.Print "Ink Name: " &amp; .InkName
        Debug.Print "Color: " &amp; .Color
        Debug.Print "Luminance: " &amp; .Luminance
        Debug.Print "In Use?: " &amp; .InUse
End With

End Sub

See Also