Partager via


ChartSheetProperties Class

Chart Sheet Properties.When the object is serialized out as xml, its qualified name is x:sheetPr.

Inheritance Hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Spreadsheet.ChartSheetProperties

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

Syntax

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

Remarks

The following table lists the possible child types:

  • TabColor <x:tabColor>

[ISO/IEC 29500-1 1st Edition]

18.3.1.83 sheetPr (Chart Sheet Properties)

This element specifies chart sheet properties.

Parent Elements

chartsheet (§18.3.1.12)

Child Elements

Subclause

tabColor (Sheet Tab Color)

§18.3.1.93

Attributes

Description

codeName (Code Name)

Specifies a stable name of the sheet, which should not change over time, and does not change from user input. This name should be used by code to reference a particular sheet.

The possible values for this attribute are defined by the W3C XML Schema string datatype.

published (Published)

Flag indicating whether the chart sheet is published.

The possible values for this attribute are defined by the W3C XML Schema boolean datatype.

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

ChartSheetProperties Members

DocumentFormat.OpenXml.Spreadsheet Namespace