Selection.SwapEnds Method
Visio Automation Reference |
Swaps the begin and endpoints of a one-dimensional (1-D) shape.
Version Information
Version Added: Visio 2002
Syntax
expression.SwapEnds
expression A variable that represents a Selection object.
Return Value
Nothing
Remarks
The type of glue associated with the endpoints is also swapped. For example, if the begin point of a 1-D shape is glued to object A and the endpoint of the 1-D shape is not glued, after invoking the SwapEnds method, the endpoint is glued to object A and the begin point is not glued.
See Also