Share via


Plate.InkName Property

Publisher Developer Reference

Returns a PbInkName constant that represents the name of the ink to be printed using this plate. Read-only.

Syntax

expression.InkName

expression   A variable that represents a Plate object.

Remarks

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

Use the FindPlateByInkName method of the PrintablePlates collection to return a specific plate by referencing its ink name.

Example

The following example returns a list of the printable plates currently in the collection for the active publication. The example assumes that separations have been specified as the active publication's print mode.

Visual Basic for Applications
  Sub ListPrintablePlates()
    Dim pplTemp As PrintablePlates
    Dim pplLoop As PrintablePlate
    
Set pplTemp = ActiveDocument.AdvancedPrintOptions.PrintablePlates
Debug.Print "There are " & pplTemp.Count & " printable plates in this publication."

For Each pplLoop In pplTemp
    With pplLoop
        Debug.Print "Printable Plate Name: " & .Name
        Debug.Print "Index: " & .Index
        Debug.Print "Ink Name: " &amp; .<strong>InkName</strong>
        Debug.Print "Plate Angle: " &amp; .Angle
        Debug.Print "Plate Frequency: " &amp; .Frequency
        Debug.Print "Print Plate?: " &amp; .PrintPlate
    End With
Next pplLoop

End Sub

See Also