ContainerProperties.RotateFlipList method (Visio)

Rotates or flips the list direction for a list of shapes.

Syntax

expression.RotateFlipList (Direction)

expression A variable that represents a ContainerProperties object.

Parameters

Name Required/Optional Data type Description
Direction Required VisLayoutDirection The layout action to take.

Return value

Nothing

Remarks

If the list contains container shapes only, and no other shapes, and if the ObjType ShapeSheet cell value of the list shape equals zero (0), nothing happens.

If the list contains container shapes only, and no other shapes, and if the ObjType ShapeSheet cell value of the list shape does not equal zero (0), the RotateFlipList method also rotates or flips the contents of the container shapes.

If the list contains a mix of container and non-container shapes, the method does not rotate or flip the contents of the containers but, rather, rotates or flips the entire list.

You can also use this method on lists that are paired in an overlapped list relationship. For rotation, both overlapped lists are rotated by 90 degrees. For flip, the overlapped list direction is not changed.

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.