This documentation is archived and is not being maintained.

TextElement Class

Text Element.When the object is serialized out as xml, its qualified name is p:txEl.

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

public class TextElement : OpenXmlCompositeElement

The following table lists the possible child types:

  • CharRange <p:charRg>

  • ParagraphIndexRange <p:pRg>

[ISO/IEC 29500-1 1st Edition]

19.5.91 txEl (Text Element)

This element specifies a text element to animate.

[Example: Consider a shape containing text to be animated. The <txEl> should be used as follows:

  <p:spTgt spid="5">
      <p:pRg st="1" end="1"/>

end example]

Parent Elements

spTgt (§19.5.72)

Child Elements


charRg (Character Range)


pRg (Paragraph Text Range)


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

© ISO/IEC29500: 2008.

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