Freigeben über


TextShape-Klasse

Text Shape.When the object is serialized out as xml, its qualified name is a:txSp.

Vererbungshierarchie

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.TextShape

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Transform2D))> _
<ChildElementInfoAttribute(GetType(TextBody))> _
<ChildElementInfoAttribute(GetType(UseShapeRectangle))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
Public Class TextShape _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TextShape
[ChildElementInfoAttribute(typeof(Transform2D))]
[ChildElementInfoAttribute(typeof(TextBody))]
[ChildElementInfoAttribute(typeof(UseShapeRectangle))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
public class TextShape : OpenXmlCompositeElement

Hinweise

The following table lists the possible child types:

  • TextBody <a:txBody>

  • UseShapeRectangle <a:useSpRect>

  • Transform2D <a:xfrm>

  • ExtensionList <a:extLst>

[ISO/IEC 29500-1 1. Ausgabe]

20.1.2.2.41 txSp (Text Shape)

This element specifies the existence of a text shape within a parent shape. This text shape is specifically used for displaying text as it has only text related child elements.

Parent Elements

grpSp (§20.1.2.2.20); lockedCanvas (§20.3.2.1); sp (§20.1.2.2.33)

Child Elements

Subclause

extLst (Extension List)

§20.1.2.2.15

txBody (Shape Text Body)

§20.1.2.2.40

useSpRect (Use Shape Text Rectangle)

§20.1.2.2.42

xfrm (2D Transform for Individual Objects)

§20.1.7.6

[Note: The W3C XML Schema definition of this element's content model (CT_GvmlTextShape) 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

TextShape-Member

DocumentFormat.OpenXml.Drawing-Namespace