Selection.LayoutChangeDirection Method (Visio)
Revises the layout of a selection of connected shapes by rotating or flipping the connected shapes as a unit, without rotating or flipping the individual shapes.
The Direction parameter must be one of the following VisLayoutDirection constants.
Rotates the selection 90 degrees clockwise.
Rotates the selection 90 degrees counterclockwise.
Flips the selection vertically.
Flips the selection horizontally.
The following Microsoft Visual Basic for Applications (VBA) macro shows how to use the LayoutChangeDirection method to flip a selection of connected shapes vertically, without flipping the individual shapes.