Section property

Microsoft Visio Developer Reference

Section property

   Example   

Returns the requested Section object belonging to a shape or style.

Version added

4.0

Syntax

objRet = object.Section(index)

objRet

The Section object that corresponds to the index.

object

Required. An expression that returns a Shape or Style object.

index

Required Integer. A section index.

Remarks

Constants representing sections are prefixed with visSection and are declared by the Visio type library in VisSectionIndices. You can also view a list of constants in the AddSection method.