Page.SetThemeVariant Method (Visio)

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

Syntax

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.?

Return value

VOID

See also

Page Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.