Shape.SectionExists property (Visio)
Determines whether a ShapeSheet section exists for a particular shape. Read-only.
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.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.