CustomChartsheetView Class
Custom Chart Sheet View.When the object is serialized out as xml, its qualified name is x:customSheetView.
Inheritance Hierarchy
System.Object
DocumentFormat.OpenXml.OpenXmlElement
DocumentFormat.OpenXml.OpenXmlCompositeElement
DocumentFormat.OpenXml.Spreadsheet.CustomChartsheetView
Namespace: DocumentFormat.OpenXml.Spreadsheet
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
<ChildElementInfoAttribute(GetType(PageMargins))> _
<ChildElementInfoAttribute(GetType(ChartSheetPageSetup))> _
<ChildElementInfoAttribute(GetType(HeaderFooter))> _
Public Class CustomChartsheetView _
Inherits OpenXmlCompositeElement
'Usage
Dim instance As CustomChartsheetView
[ChildElementInfoAttribute(typeof(PageMargins))]
[ChildElementInfoAttribute(typeof(ChartSheetPageSetup))]
[ChildElementInfoAttribute(typeof(HeaderFooter))]
public class CustomChartsheetView : OpenXmlCompositeElement
Remarks
The following table lists the possible child types:
PageMargins <x:pageMargins>
ChartSheetPageSetup <x:pageSetup>
HeaderFooter <x:headerFooter>
[ISO/IEC 29500-1 1st Edition]
18.3.1.24 customSheetView (Custom Chart Sheet View)
This element defines custom view properties for chart sheets. [Note: See customSheetView (§18.3.1.25) for an example. end note]
Parent Elements |
---|
customSheetViews (§18.3.1.26) |
Child Elements |
Subclause |
---|---|
headerFooter (Header Footer Settings) |
§18.3.1.46 |
pageMargins (Page Margins) |
§18.3.1.62 |
pageSetup (Chart Sheet Page Setup) |
§18.3.1.64 |
Attributes |
Description |
---|---|
guid (GUID) |
Unique identifier of this custom view The possible values for this attribute are defined by the ST_Guid simple type (§22.9.2.4). |
scale (Print Scale) |
Print scaling, representing percent values. The values of this attribute shall be restricted to the range from 10 to 400. Horizontal & Vertical scale together. [Example: 10 - 10% 20 - 20% … 100 - 100% … 400 - 400% end example] The possible values for this attribute are defined by the W3C XML Schema unsignedInt datatype. |
state (Visible State) |
Visibility state of the sheet. The possible values for this attribute are defined by the ST_SheetState simple type (§18.18.68). |
zoomToFit (Zoom To Fit) |
Flag indicating whether chart sheet is zoom to fit window. 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_CustomChartsheetView) 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.