TextElement Class

Office 2010

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)

[ChildElementInfoAttribute(typeof(CharRange))]
[ChildElementInfoAttribute(typeof(ParagraphIndexRange))]
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:tgtEl>
  <p:spTgt spid="5">
    <p:txEl>
      <p:pRg st="1" end="1"/>
    </p:txEl>
  </p:spTgt>
</p:tgtEl>

end example]

Parent Elements

spTgt (§19.5.72)

Child Elements

Subclause

charRg (Character Range)

§19.5.23

pRg (Paragraph Text Range)

§19.5.56

[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.

Community Additions

ADD
Show:
© 2014 Microsoft