ThemeIndex Cell (Theme Properties Section)

Stores the enumeration of the built-in Microsoft Visio theme applied to the document, as an integer. When a new theme is chosen for the document, the ThemeIndex cell for the document and all pages and shapes it contains is updated with the index of the built-in theme.

Remarks

To get a reference to the ThemeIndex cell by name from another formula, by value of the N attribute of a Cell element, or from a program using the CellsU property, use:

Value
Cell name:
ThemeIndex

To get a reference to the ThemeIndex cell by index from a program, use the CellsSRC property with the following arguments:

Value
Section index:
visSectionObject
Row index:
visRowThemeProperties
Cell index:
visThemeIndex