Sets the position of the current point of the shape, used for creating the shape.
Applies to: Page object, Shape object
[[Set] shapeRet =] object.MoveTo ( x, y ) |
The MoveTo method syntax has these parts:
Part | Description |
object | Required. An expression that returns an object in the Applies to list. |
x | Required. An expression that returns a Double value, representing the X coordinate of the point. |
y | Required. An expression that returns a Double value, representing the Y coordinate of the point. |
shapeRet | Optional. A Shape type variable. |
If object is a page or a group, the MoveTo method adds a new geometry with one start segment with the specified coordinates to the current Basic shape of the page or group. If the method was called before the BeginShape method or after the EndShape method, the MoveTo method doesn't create anything and returns Nothing.
If object is a simple shape, the MoveTo method adds a new geometry with the start segment in this shape.
The coordinates of the point are specified in the coordinate system of the shape, group or page to which the instance of object corresponds. The units of measure for the coordinates are the internal units (InternalUnit).
See Also |
ArcTo method, BeginShape method, EndShape method, LineTo method, SplineStart method, SplineTo method |