DisplayMode Cell (Action Tags Section)

Determines whether the action tag appears when the user moves the pointer over the tag, when the shape is selected, or all the time.

Note

In previous versions of Microsoft Visio, action tags are called smart tags.

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

Action tags do not appear on printed or published output.

If an action 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 get a reference to the DisplayMode cell by name from another formula, or from a program by using the CellsU property, use:

Value
Cell name:
SmartTags. name .DisplayMode where SmartTags. name is the name of the action tag row

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

Value
Section index:
visSectionSmartTag
Row index:
visRowSmartTag + i where i = 0, 1, 2...
Cell index:
visSmartTagDisplayMode