InkName 属性 (Publisher)Plate.InkName property (Publisher)

返回一个PbInkName常量, 该常量代表要使用此印版打印的墨迹的名称。Returns a PbInkName constant that represents the name of the ink to be printed by using this plate. 此为只读属性。Read-only.

语法Syntax

表达式InkNameexpression.InkName

_表达式_一个代表**板式** 对象的变量。expression A variable that represents a Plate object.

说明Remarks

InkName 属性值可以是在 Microsoft 发布服务器类型库声明的 PbInkName 常量之一。The InkName property value can be one of the PbInkName constants declared in the Microsoft Publisher type library.

使用 PrintablePlates 集合的 FindPlateByInkName 方法通过引用其墨迹名称返回特定的印版。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.

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: " & .InkName 
 Debug.Print "Plate Angle: " & .Angle 
 Debug.Print "Plate Frequency: " & .Frequency 
 Debug.Print "Print Plate?: " & .PrintPlate 
 End With 
 Next pplLoop 
End Sub

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.