次の方法で共有


Text Class

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

Inheritance Hierarchy

System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlLeafElement
DocumentFormat.OpenXml.OpenXmlLeafTextElement
DocumentFormat.OpenXml.Drawing.Text

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

Syntax

'宣言
Public Class Text _
    Inherits OpenXmlLeafTextElement
'使用
Dim instance As Text
public class Text : OpenXmlLeafTextElement

Remarks

[ISO/IEC 29500-1 初版]

21.1.2.3.11 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. 上記の引用はマイクロソフト (またはその代理) によって英語から日本語に翻訳されたものであり、ISO はこうした翻訳に対する責任を一切負いません。

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

Text Members

DocumentFormat.OpenXml.Drawing Namespace