ColorSchemes Object
Publisher Developer Reference |
A collection of all the ColorScheme objects in Microsoft Office Publisher. Each ColorScheme object represents a color scheme, which is a set of colors that are used in a publication.
Example
Use the Count property to return the number of color schemes available to Publisher. The following example displays the number of color schemes.
Visual Basic for Applications |
---|
|
Use the Item property to return a specific color scheme from the ColorSchemes collection. The Index argument of the Item property can be the number or name of the color scheme, or a PbColorScheme constant. The follow example sets the color scheme of the active publication to Wildflower.
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