ContainerProperties.RotateFlipList Method (Visio)
Rotates or flips the list direction for a list of shapes.
Version Information
Version Added: Visio 2010
Syntax
expression .RotateFlipList(Direction)
expression A variable that represents a ContainerProperties object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Direction |
Required |
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.