Table of contents
TOC
Collapse the table of content
Expand the table of content

ColorSchemes.Item Property (Publisher)

office 365 dev account|Last Updated: 8/24/2017
|
3 Contributors

Returns the specified ColorScheme object from a ColorSchemes collection. Read-only.

Syntax

expression. Item( Index)

_expression_A variable that represents a ColorSchemes object.

Parameters

NameRequired/OptionalData TypeDescription
IndexRequiredVariantThe color scheme to return. Can be either the name of the color scheme as a string or the corresponding PbColorScheme constant.

Remarks

The Item property value can be one of the PbColorScheme constants declared in the Microsoft Publisher type library.

Example

This example sets the color scheme of the active publication to the Aqua color scheme.

ActiveDocument.ColorScheme = ColorSchemes.Item(Index:=pbColorSchemeAqua)
© 2018 Microsoft