Document.ColorsInUse Property
Publisher Developer Reference |
Returns a ColorsInUse collection that represents the colors present in the current publication. Read-only.
Syntax
expression.ColorsInUse
expression A variable that represents a Document object.
Return Value
ColorsInUse
Remarks
The ColorsInUse collection supports all the publication color models: RGB, process colors, and spot color.
For process color and spot color publications, colors are based on inks. For a given ink, a publication may contain several colors that are different tints or shades of that ink. Use the Plates collection to access the plates that represent the inks defined for a publication.
This property corresponds to the Colors tab of the Color Printing dialog box.
Example
The following example lists properties of each color in the active publication that is based on the specified ink. This example assumes the publication's color mode has been defined as spot color or process and spot color.
Visual Basic for Applications |
---|
|
See Also