Upravit

Sdílet prostřednictvím


Selection.SwapEnds method (Visio)

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

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.