Share via


SwapEnds Method [Visio 2003 SDK Documentation]

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

object**.SwapEnds**

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

Version added

2002

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

Applies to | Selection object | Shape object