Publisher) (Plates 对象

出版物中的 Plate 对象的集合。

备注

印版 集合组成的各种出版物的颜色模式的 印版 对象。 每个出版物只能使用一种颜色模式。 例如,不能指定专色模式的过程中和之后又指定印刷色模式。

使用 Add 方法将新印版添加到 Plate 集合。

使用 FindPlateByInkName 方法通过引用其墨迹名称返回一个特定的印版。 印刷色分配不同 PrintablePlates 集合中比 Plates 集合中的索引号。

使用 FindPlateByInkName 方法可确保访问所需的 Plate 对象。

示例

以下示例创建一个新的专色印版集合,并向其添加一个印版。

Sub AddNewPlates() 
 Dim plts As Plates 
 Set plts = ActiveDocument.CreatePlateCollection(Mode:=pbColorModeSpot) 
 plts.Add 
 With plts(1) 
 .Color.RGB = RGB(Red:=255, Green:=0, Blue:=0) 
 .Luminance = 4 
 End With 
End Sub

本示例创建一个专色调色板集合,添加两个调色板,然后将这些印版输入到专色模式。

Sub CreateSpotColorMode() 
 Dim plArray As Plates 
 
 With ThisDocument 
 'Creates a color plate collection, 
 'which contains one black plate by default 
 Set plArray = .CreatePlateCollection(Mode:=pbColorModeSpot) 
 
 'Sets the plate color to red 
 plArray(1).Color.RGB = RGB(255, 0, 0) 
 
 'Adds another plate, black by default and 
 'sets the plate color to green 
 plArray.Add 
 plArray(2).Color.RGB = RGB(0, 255, 0) 
 
 'Enters spot-color mode with above 
 'two plates in the plates array 
 .EnterColorMode Mode:=pbColorModeSpot, Plates:=plArray 
 End With 
End Sub

方法

属性

另请参阅

支持和反馈

有关于 Office VBA 或本文档的疑问或反馈? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。