Chartsheet Class
Chart Sheet. It is the root element of ChartsheetPart.When the object is serialized out as xml, its qualified name is x:chartsheet.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.OpenXmlPartRootElement
DocumentFormat.OpenXml.Spreadsheet.Chartsheet
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(Drawing))> _
<ChildElementInfoAttribute(GetType(ChartSheetPageSetup))> _
<ChildElementInfoAttribute(GetType(ChartSheetProperties))> _
<ChildElementInfoAttribute(GetType(ChartSheetViews))> _
<ChildElementInfoAttribute(GetType(ChartSheetProtection))> _
<ChildElementInfoAttribute(GetType(CustomChartsheetViews))> _
<ChildElementInfoAttribute(GetType(PageMargins))> _
<ChildElementInfoAttribute(GetType(LegacyDrawingHeaderFooter))> _
<ChildElementInfoAttribute(GetType(HeaderFooter))> _
<ChildElementInfoAttribute(GetType(LegacyDrawing))> _
<ChildElementInfoAttribute(GetType(Picture))> _
<ChildElementInfoAttribute(GetType(ExtensionList))> _
<ChildElementInfoAttribute(GetType(DrawingHeaderFooter), FileFormatVersions.Office2010)> _
<ChildElementInfoAttribute(GetType(WebPublishItems))> _
Public Class Chartsheet _
Inherits OpenXmlPartRootElement
'Usage
Dim instance As Chartsheet
[ChildElementInfoAttribute(typeof(Drawing))]
[ChildElementInfoAttribute(typeof(ChartSheetPageSetup))]
[ChildElementInfoAttribute(typeof(ChartSheetProperties))]
[ChildElementInfoAttribute(typeof(ChartSheetViews))]
[ChildElementInfoAttribute(typeof(ChartSheetProtection))]
[ChildElementInfoAttribute(typeof(CustomChartsheetViews))]
[ChildElementInfoAttribute(typeof(PageMargins))]
[ChildElementInfoAttribute(typeof(LegacyDrawingHeaderFooter))]
[ChildElementInfoAttribute(typeof(HeaderFooter))]
[ChildElementInfoAttribute(typeof(LegacyDrawing))]
[ChildElementInfoAttribute(typeof(Picture))]
[ChildElementInfoAttribute(typeof(ExtensionList))]
[ChildElementInfoAttribute(typeof(DrawingHeaderFooter), FileFormatVersions.Office2010)]
[ChildElementInfoAttribute(typeof(WebPublishItems))]
public class Chartsheet : OpenXmlPartRootElement
Remarks
The following table lists the possible child types:
ChartSheetProperties <x:sheetPr>
ChartSheetViews <x:sheetViews>
ChartSheetProtection <x:sheetProtection>
CustomChartsheetViews <x:customSheetViews>
PageMargins <x:pageMargins>
ChartSheetPageSetup <x:pageSetup>
HeaderFooter <x:headerFooter>
Drawing <x:drawing>
LegacyDrawing <x:legacyDrawing>
LegacyDrawingHeaderFooter <x:legacyDrawingHF>
DrawingHeaderFooter <x:drawingHF>
Picture <x:picture>
WebPublishItems <x:webPublishItems>
ExtensionList <x:extLst>
[ISO/IEC 29500-1 1st Edition]
18.3.1.12 chartsheet (Chart Sheet)
This is the root element of Chartsheet Parts in a SpreadsheetML document.
Parent Elements |
---|
Root element of SpreadsheetML Chartsheet part |
Child Elements |
Subclause |
---|---|
customSheetViews (Custom Chart Sheet Views) |
§18.3.1.26 |
drawing (Drawing) |
§18.3.1.36 |
drawingHF (Drawing Reference in Header Footer) |
§18.3.1.37 |
extLst (Future Feature Data Storage Area) |
§18.2.10 |
headerFooter (Header Footer Settings) |
§18.3.1.46 |
pageMargins (Page Margins) |
§18.3.1.62 |
pageSetup (Chart Sheet Page Setup) |
§18.3.1.64 |
picture (Background Image) |
§18.3.1.67 |
sheetPr (Chart Sheet Properties) |
§18.3.1.83 |
sheetProtection (Chart Sheet Protection) |
§18.3.1.84 |
sheetViews (Chart Sheet Views) |
§18.3.1.89 |
webPublishItems (Web Publishing Items) |
§18.3.1.98 |
[Note: The W3C XML Schema definition of this element’s content model (CT_Chartsheet) 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.