Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

Shape.SetEnd Method (Visio)

Moves the endpoint of a one-dimensional (1-D) shape to the coordinates represented by xPos and yPos.

Version Information

Version Added: Visio 2.0

Syntax

expression .SetEnd(xPos, yPos)

expression A variable that represents a Shape object.

Parameters

Name Required/Optional Data Type Description

xPos

Required

Double

The new x-coordinate of the endpoint.

yPos

Required

Double

The new y-coordinate of the endpoint.

Return Value

Nothing

Remarks

The SetEnd method applies only to 1-D shapes. If the indicated shape is a 2-D shape, an error is returned.

The coordinates represented by the xPos and yPos arguments are parent coordinates, measured from the origin of the shape's parent (the page or group that contains the shape).

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.