Share via


SectionExists Property [Visio 2003 SDK Documentation]

Determines whether a ShapeSheet section exists for a particular shape.

intRet = object**.SectionExists**(section, fExistsLocally)**

intRet     Integer. False (0) if section doesn't exist; otherwise, True (1).

object     Required. An expression that returns a Shape object.

section     Required Integer. The section index.

fExistsLocally     Required Integer. The scope of the search.

Version added

4.0

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 Visio type library in VisSectionIndices.

Applies to | Shape object

See Also | AddSection method | CellExists property | Cells property | CellsSRC property | CellsSRCExists property | RowExists property