Expand Minimize

Shape.SectionExists Property (Visio)

Determines whether a ShapeSheet section exists for a particular shape. Read-only.

Version Added: Visio 4.0

expression .SectionExists(Section, fExistsLocally)

expression A variable that represents a Shape object.

Parameters

Name

Required/Optional

Data Type

Description

Section

Required

Integer

The section index.

fExistsLocally

Required

Integer

The scope of the search.

Return Value

Integer

If fExistsLocally is False (0), the SectionExists property returns True if the object either contains or inherits the section. If fExistsLocally is True (non-zero), the SectionExists property returns True only if the object contains the section locally; if the section is inherited, the SectionExists property returns False.

Constants that represent sections are prefixed with visSection and are declared by the Microsoft Visio type library in VisSectionIndices.

Show:
© 2015 Microsoft