TextProperties Class

Defines the TextProperties Class.When the object is serialized out as xml, its qualified name is c:txPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.TextBodyType
        DocumentFormat.OpenXml.Drawing.Charts.TextProperties

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

Syntax

声明
Public Class TextProperties _
    Inherits TextBodyType
用法
Dim instance As TextProperties
public class TextProperties : TextBodyType

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>

[ISO/IEC 29500-1 第 1 个版本]

21.2.2.216 txPr (Text Properties)

This element specifies text formatting. The lstStyle element is not supported.

Parent Elements

catAx (§21.2.2.25); chartSpace (§21.2.2.29); dateAx (§21.2.2.39); dispUnitsLbl (§21.2.2.46); dLbl (§21.2.2.47); dLbls (§21.2.2.49); dTable (§21.2.2.54); legend (§21.2.2.93); legendEntry (§21.2.2.94); pivotFmt (§21.2.2.142); serAx (§21.2.2.175); title (§21.2.2.210); trendlineLbl (§21.2.2.212); valAx (§21.2.2.226)

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. 以上摘要已经由 Microsoft(和/或其代理公司)从英语翻译为简体中文,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

TextProperties Members

DocumentFormat.OpenXml.Drawing.Charts Namespace