Selection.ItemStatus Property (Visio)

Indicates if an item in a Selection object is subselected, if the group to which it belongs is selected, or if it is the primary item. Read-only.


expression. ItemStatus( _Index_ )

expression A variable that represents a Selection object.


Name Required/Optional Data Type Description
Index Required Long Index of the item for which you want to retrieve the status.

Return Value



The ItemStatus property reports a combination of the following values.

Constant Value Description
visSelIsPrimaryItem &;H1 The item is the primary item.
visSelIsSubItem &;H2 The item is a subselected item.
visSelIsSuperItem &;H4 The item is a superselected item.