Shape.SetBegin method (Visio)
Moves the begin point of a one-dimensional (1D) shape to the coordinates represented by xPos and yPos.
Syntax
expression. SetBegin
( _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 begin point. |
yPos | Required | Double | The new y-coordinate of the begin point. |
Return value
Nothing
Remarks
The SetBegin method only applies to 1D shapes. If the indicated shape is a 2D shape, an error is generated.
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).
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.