Plate.InkName 屬性 (Publisher)
會傳回 PbInkName 常數,代表要使用這個分色板列印的筆跡名稱。 唯讀。
語法
運算式。InkName
表達 代表 Plate 物件的變數。
註解
InkName 屬性值可以是 Microsoft Publisher 類型程式庫中所宣告的 PbInkName 常數之一。
您可以使用 PrintablePlates 集合的 FindPlateByInkName 方法來傳回特定分色板的油墨名稱參照。
範例
下列範例會為使用中出版物傳回集合中目前存在的可列印調色盤。 本範例假設已將分色稿指定為使用中出版物的列印模式。
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
支援和意見反應
有關於 Office VBA 或這份文件的問題或意見反應嗎? 如需取得支援服務並提供意見反應的相關指導,請參閱 Office VBA 支援與意見反應。