Partager via


TextProperties Class

Text Properties.When the object is serialized out as xml, its qualified name is dgm:txPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Diagrams.TextProperties

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Shape3DType))> _
<ChildElementInfoAttribute(GetType(FlatText))> _
Public Class TextProperties _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As TextProperties
[ChildElementInfoAttribute(typeof(Shape3DType))]
[ChildElementInfoAttribute(typeof(FlatText))]
public class TextProperties : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • DocumentFormat.OpenXml.Drawing.Shape3DType <a:sp3d>

  • DocumentFormat.OpenXml.Drawing.FlatText <a:flatTx>

[ISO/IEC 29500-1 1st Edition]

21.4.5.12 txPr (Text Properties)

This element defines special text formatting that can be applied to text through a style label.

Parent Elements

styleLbl (§21.4.5.10)

Child Elements

Subclause

flatTx (No text in 3D scene)

§20.1.5.8

sp3d (Apply 3D shape properties)

§20.1.5.12

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

© ISO/IEC29500: 2008.

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

TextProperties Members

DocumentFormat.OpenXml.Drawing.Diagrams Namespace