# MoveTo Element

Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vertex after a break in a path.

## Syntax

    <MoveTo
        [IX]
        [Del]>
    </MoveTo>

## Attributes

IX

Optional int. The zero-based index of the element within its parent element.

Del

Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

## Element properties

Property | Value
--- | ---
Name | MoveTo
Minimum Occurrences | 0
Maximum Occurrences | Unbounded

## Element information

Parent elements

Geom

Child elements

X

Y

## Remarks

Contains the x- and y-coordinates of the first vertex for the shape if the MoveTo element is the first element in the Geom element. Usually this is the first vertex placed when the shape was drawn, and it does not necessarily correspond to the begin point of a 1-D shape.

A Geom element must begin with a MoveTo element, but you can also use the MoveTo element to specify a gap in the stroking of a shape's path. However, when the path is used to define the boundary of a filled region, this gap is interpreted as a straight line segment. To insert such a gap, insert a MoveTo element between two elements. If a MoveTo element is between two elements, it contains the x- and y-coordinates of the first vertex of the line after the break in the shape's path.

The x- and y-coordinates are specified in the X and Y elements.

The MoveTo element is relevant only when contained in a Shape element. It is ignored when contained in a DocumentSheet, PageSheet, or StyleSheet element.

## See also

MoveTo row (Geometry section)

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp