Share via


Page.ThemeColors Property

Visio Automation Reference

Gets or sets the current theme colors for the page. Read/write.

Version Information
 Version Added:  Visio 2007

Syntax

expression.ThemeColors

expression   An expression that returns a Page object.

Return Value
Variant

Remarks

You can set the ThemeColors property value to any one of the following:

  • The name or universal name of the theme color (strings)
  • An enumerated value from the VisThemeColors enumeration
  • A Master object of type visTypeThemeColors

The ThemeColors property always returns the universal name of the current theme colors.

See Also