ColorScheme Object
Publisher Developer Reference |
Represents a color scheme, which is a set of eight colors used for the different elements of a publication. Each color is represented by a ColorFormat object. The ColorScheme object is a member of the ColorSchemes collection. The ColorSchemes collection contains all the color schemes available to Microsoft Office Publisher.
Example
Use the ColorScheme property of a Document object to return the color scheme for the current publication. The following example sets the fill value of three shapes on the first page to the return value (in RGB format) of three of the eight ColorScheme colors.
Visual Basic for Applications |
---|
|
Use the Name property to return a color scheme name. The following example lists in a text box all the color schemes available to Publisher.
Visual Basic for Applications |
---|
|
See Also