Chartsheet Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Chartsheet() | Initializes a new instance of the Chartsheet class. | 
| Chartsheet(OpenXmlElement[]) | Initializes a new instance of the Chartsheet class with the specified child elements. | 
| Chartsheet(IEnumerable<OpenXmlElement>) | Initializes a new instance of the Chartsheet class with the specified child elements. | 
| Chartsheet(String) | Initializes a new instance of the Chartsheet class from outer XML. | 
Chartsheet()
Initializes a new instance of the Chartsheet class.
public Chartsheet();Public Sub New ()Applies to
Chartsheet(OpenXmlElement[])
Initializes a new instance of the Chartsheet class with the specified child elements.
public Chartsheet(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Spreadsheet.Chartsheet : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Spreadsheet.ChartsheetPublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Chartsheet(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Chartsheet class with the specified child elements.
public Chartsheet(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Spreadsheet.Chartsheet : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Spreadsheet.ChartsheetPublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Chartsheet(String)
Initializes a new instance of the Chartsheet class from outer XML.
public Chartsheet(string outerXml);new DocumentFormat.OpenXml.Spreadsheet.Chartsheet : string -> DocumentFormat.OpenXml.Spreadsheet.ChartsheetPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.