SetBegin method

Microsoft Visio Developer Reference

SetBegin method

   Example   

Moves the begin point of a one-dimensional (1-D) shape to the coordinates represented by x and y.

Version added

2.0

Syntax

object.SetBegin x, y

object

Required. An expression that returns a Shape object.

x

Required Double. The new x-coordinate of the begin point.

y

Required Double. The new y-coordinate of the begin point.

Remarks

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

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