Plates.FindPlateByInkName method (Publisher)
Returns a Plate object that represents the plate of the specified ink name.
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 Publisher type library.
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 or PrintablePlate object is accessed.
Example
The following example returns properties for the plate representing the third spot color defined for the active publication.
Sub ListPlatePropertiesByInkName()
Dim pplPlate As Plate
Set pplPlate = ActiveDocument.Plates.FindPlateByInkName(pbInkNameSpot3)
With pplPlate
Debug.Print "Plate Name: " & .Name
Debug.Print "Index: " & .Index
Debug.Print "Ink Name: " & .InkName
Debug.Print "Color: " & .Color
Debug.Print "Luminance: " & .Luminance
Debug.Print "In Use?: " & .InUse
End With
End Sub
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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for