ItemStatus property

Microsoft Visio Developer Reference

ItemStatus property

   Example   

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.

Version added

2000

Syntax

intRet = object.ItemStatus(index)

intRet

Integer. Status of the item.

object

Required. An expression that returns a Selection object.

index

Required Long. Index of the item for which you want to retrieve the status.

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.