Page.GetThemeVariant method (Visio)

Returns the color, style, and embellishment, if any, of the variant of the theme applied to the specified page.

Syntax

expression.GetThemeVariant (pVariantColor, pVariantStyle, pEmbellishment)

expression A variable that represents a Page object.

Parameters

Name Required/Optional Data type Description
pVariantColor Required INT16 The index of the color variant applied. Possible values are from 0 to 3. Out parameter.
pVariantStyle Required INT16 The index of the style variant applied. Possible values are from 0 to 3. Out parameter.
pEmbellishment Optional INT16 The index of the embellishment applied, if any. Possible values are from 1, for low, to 3, for high. Out parameter.

Return value

VOID

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.