Partager via


TextBody Class

Defines the TextBody Class.When the object is serialized out as xml, its qualified name is dsp:txBody.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office.Drawing.TextBody

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(BodyProperties))> _
<ChildElementInfoAttribute(GetType(ListStyle))> _
<ChildElementInfoAttribute(GetType(Paragraph))> _
Public Class TextBody _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TextBody
[ChildElementInfoAttribute(typeof(BodyProperties))]
[ChildElementInfoAttribute(typeof(ListStyle))]
[ChildElementInfoAttribute(typeof(Paragraph))]
public class TextBody : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.BodyProperties <a:bodyPr>

  • DocumentFormat.OpenXml.Drawing.ListStyle <a:lstStyle>

  • DocumentFormat.OpenXml.Drawing.Paragraph <a:p>

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

TextBody Members

DocumentFormat.OpenXml.Office.Drawing Namespace