Plate.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

_運算式_代表**Plate** 物件的變數。expression A variable that represents a Plate object.

註解Remarks

InkName 屬性值可以是 Microsoft Publisher 類型程式庫中所宣告的 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.