Shape.SectionExists Property (Visio)

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

Version Information

Version Added: Visio 4.0

Syntax

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

Remarks

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.