ItemStatus Property

Selection.ItemStatus Property (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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.

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

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.

Show:
© 2016 Microsoft