DisplayMode Cell (Smart 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 |
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:
Cell name: |
SmartTags.name.DisplayMode |
To get a reference to the DisplayMode cell by index from a program, use the CellsSRC property with the following arguments:
Section index: | visSectionSmartTag |
Row index: | visRowSmartTag + i |
Cell index: | visSmartTagDisplayMode |
Note