SetThemeVariant Method

Page.SetThemeVariant Method (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Sets the color, style, and optionally the embellishment of the variant of the theme applied to the specified page.

expression .SetThemeVariant(variantColor,variantStyle,embellishment)

expression A variable that represents a Page object.

Parameters

Name

Required/Optional

Data type

Description

variantColor

Required

INT16

The index of the color variant to apply. Possible values are from 0 to 3.

variantStyle

Required

INT16

The index of the style variant to apply. Possible values are from 0 to 3.

embellishment

Optional

INT16

The index of the embellishment to apply. Possible values are from 1, for “low,” to 3, for “high.”

Name

Required/Optional

Data type

Description

Return value

VOID

Concepts

Other resources

Show:
© 2016 Microsoft