Table of contents
TOC
折叠目录
展开目录

Plate.InkName 属性 (发布服务器)Plate.InkName Property (Publisher)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

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

语法Syntax

表达式InkNameexpression. InkName

_expression_A 变量表示一个印版_expression_A variable that represents a Plate object.

注解Remarks

InkName属性值可以是一种 * * PbInkName* * 的 Microsoft Publisher 类型库中声明常量。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
© 2018 Microsoft