ContainerProperties.RotateFlipList Method (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

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

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

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.

Show: