Compartilhar via


LineTo Class

Draw Line To.When the object is serialized out as xml, its qualified name is a:lnTo.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.LineTo

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Point))> _
Public Class LineTo _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As LineTo
[ChildElementInfoAttribute(typeof(Point))]
public class LineTo : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • Point <a:pt>

[ISO/IEC 29500-1 1st Edition]

20.1.9.13 lnTo (Draw Line To)

This element specifies the drawing of a straight line from the current pen position to the new point specified. This line becomes part of the shape geometry, representing a side of the shape. The coordinate system used when specifying this line is the path coordinate system.

Parent Elements

path (§20.1.9.15)

Child Elements

Subclause

pt (Shape Path Point)

§20.1.9.20

[Note: The W3C XML Schema definition of this element’s content model (CT_Path2DLineTo) is located in §A.4.1. end note]

© ISO/IEC29500: 2008.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

LineTo Members

DocumentFormat.OpenXml.Drawing Namespace