SwapEnds method

Microsoft Visio Developer Reference

SwapEnds method

See also   Example   

Swaps the begin and end points of a one-dimensional (1-D) shape.

Version added

2002

Syntax

object.SwapEnds

object

Required. An expression that returns a Selection or Shape object.

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 end point of the 1-D shape is not glued, then, after invoking the SwapEnds method, the end point will be glued to object A and the begin point will not be glued.