Text class

Office 2013 and later

Defines the Text Class. When the object is serialized out as xml, its qualified name is a:t.

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

No code example is currently available or this language may not be supported.

[ISO/IEC 29500-1 1st Edition]

t (Text String)

This element specifies the actual text for this text run. This is the text that is formatted using all specified body, paragraph and run properties. This element shall be present within a run of text.

[Example: Consider the DrawingML shown below.

<p:txBody>
  …  <a:p>
    …    <a:r>
      …      <a:t>Sample Text</a:t>
      …    </a:r>
    …  </a:p>
  …</p:txBody>

The above DrawingML specifies a text body containing a single paragraph, containing a single run which contains the actual text specified with the <a:t> element.

The possible values for this element are defined by the W3C XML Schema string datatype.

Parent Elements

fld (§21.1.2.2.4); r (§21.1.2.3.8)

© 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.
Show: