DisplayMode Cell (Smart Tags Section) [Visio 2003 SDK Documentation]

Determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape is selected, or all the time.

Value Display Mode Automation constant

0

Appears when the mouse is paused over the tag (the default).

visSmartTagDispModeMouseOver

1

Appears while the shape is selected.

visSmartTagDispModeShapeSelected

2

Appears all the time.

visSmartTagDispModeAlways

Remarks

Smart tags do not appear on printed or published output.

If a smart tag is defined for a page, and this cell contains a value of 1, the tag never appears because a page cannot be selected.

To reference the DisplayMode cell by name from another formula, or from a program using the CellsU property, use:

Cell name:

SmartTags.name.DisplayMode
where SmartTags.name is the name of the smart tag row

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

Section index:

visSectionSmartTag

Row index:

visRowSmartTag + i
where i = 0, 1, 2...

Cell index:

visSmartTagDisplayMode