Freigeben über


TextBody-Klasse

Shape Text Body.When the object is serialized out as xml, its qualified name is xdr:txBody.

Vererbungshierarchie

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

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

Syntax

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

Hinweise

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>

[ISO/IEC 29500-1 1. Ausgabe]

20.5.2.34 txBody (Shape Text Body)

This element specifies the existence of text to be contained within the corresponding shape. All visible text and visible text related properties are contained within this element. There can be multiple paragraphs and within paragraphs multiple runs of text.

Parent Elements

sp (§20.5.2.29)

Child Elements

Subclause

bodyPr (Body Properties)

§21.1.2.1.1

lstStyle (Text List Styles)

§21.1.2.4.12

p (Text Paragraphs)

§21.1.2.2.6

[Note: The W3C XML Schema definition of this element's content model (CT_TextBody) is located in §A.4.1. end note]

© ISO/IEC29500: 2008. Die oben aufgeführten Textauszüge wurden von Microsoft (und/oder den Microsoft-Vendoren) von Englisch nach Deutsch übersetzt, und im Rahmen von ISO wird keinerlei Verantwortung für diese Übersetzungen übernommen.

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Siehe auch

Referenz

TextBody-Member

DocumentFormat.OpenXml.Drawing.Spreadsheet-Namespace