Partager via


Title Class

Title.When the object is serialized out as xml, its qualified name is c:title.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Drawing.Charts.Title

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(Layout))> _
<ChildElementInfoAttribute(GetType(TextProperties))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(ChartText))> _
<ChildElementInfoAttribute(GetType(Overlay))> _
<ChildElementInfoAttribute(GetType(ChartShapeProperties))> _
Public Class Title _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Title
[ChildElementInfoAttribute(typeof(Layout))]
[ChildElementInfoAttribute(typeof(TextProperties))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(ChartText))]
[ChildElementInfoAttribute(typeof(Overlay))]
[ChildElementInfoAttribute(typeof(ChartShapeProperties))]
public class Title : OpenXmlCompositeElement

Remarks

The following table lists the possible child types:

  • ChartText <c:tx>

  • Layout <c:layout>

  • Overlay <c:overlay>

  • ChartShapeProperties <c:spPr>

  • TextProperties <c:txPr>

  • ExtensionList <c:extLst>

[ISO/IEC 29500-1 1st Edition]

21.2.2.210 title (Title)

This element specifies a title.

Parent Elements

catAx (§21.2.2.25); chart (§21.2.2.27); dateAx (§21.2.2.39); serAx (§21.2.2.175); valAx (§21.2.2.226)

Child Elements

Subclause

extLst (Chart Extensibility)

§21.2.2.64

layout (Layout)

§21.2.2.88

overlay (Overlay)

§21.2.2.132

spPr (Shape Properties)

§21.2.2.197

tx (Chart Text)

§21.2.2.214

txPr (Text Properties)

§21.2.2.216

[Note: The W3C XML Schema definition of this element’s content model (CT_Title) is located in §A.5.1. 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

Title Members

DocumentFormat.OpenXml.Drawing.Charts Namespace