ContainerProperties.ListDirection property (Visio)

Determines the primary list direction of the container shapes. Read/write.

Syntax

expression.ListDirection

expression An expression that returns a ContainerProperties object.

Return value

VisListDirection

Remarks

The value of the ListDirection property can be one of the following VisListDirection constants.

Constant Value Description
visListDirLeftToRight 0 Shapes are arranged horizontally, from left to right.
visListDirRightToLeft 1 Shapes are arranged horizontally, from right to left.
visListDirTopToBottom 2 Shapes are arranged vertically, from top to bottom.
visListDirBottomToTop 3 Shapes are arranged vertically, from bottom to top.

If the container is not a list, Microsoft Visio returns an Invalid Source error.

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.