Text class
Office 2013 and later
Defines the Text Class. When the object is serialized out as xml, its qualified name is a:t.
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.OpenXmlLeafTextElement
DocumentFormat.OpenXml.Drawing.Text
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.OpenXmlLeafTextElement
DocumentFormat.OpenXml.Drawing.Text
Namespace: DocumentFormat.OpenXml.Drawing
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
[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.
Show: