Export (0) Print
Expand All
Expand Minimize

DisplayMode Cell (Action Tags Section)

Last modified: June 17, 2011

Applies to: Office 2013 | Visio 2013

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 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
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:

Section index:

visSectionSmartTag

Row index:

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

Cell index:

visSmartTagDisplayMode

Show:
© 2015 Microsoft