ContainerProperties.ListDirection Property (Visio)

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

Version Information

Version Added: Visio 2010

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.