Page.GetTheme method (Visio)
Returns a Variant that represents the specified theme component of the specified page.
Syntax
expression.GetTheme (eThemeType)
expression A variable that represents a Page object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
eThemeType | Required | VISTHEMETYPES | Specifies the type of the theme component to return. |
Return value
VARIANT
Remarks
The theme components returned are enumerations of built-in theme definitions for colors, fonts, and styles for 2-dimensional shapes, and styles for 1-dimensional shapes.
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.