# LineTo Element

Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X and Y elements, respectively.

## Syntax

    <LineTo
        [IX]
        [Del]>
    </LineTo>

## 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 | LineTo
Minimum Occurrences | 0
Maximum Occurrences | Unbounded

## Element information

Parent elements

Geom

Child elements

X

Y

## Remarks

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

## See also

LineTo 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