Selection.ItemStatus Property
Visio Automation Reference |
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.
Version Information
Version Added: Visio 2000
Syntax
expression.ItemStatus(Index)
expression A variable that represents a Selection object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Index | Required | Long | Index of the item for which you want to retrieve the status. |
Return Value
Integer
Remarks
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. |
See Also