Chart 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
Chart() |
Initializes a new instance of the Chart class. |
Chart(OpenXmlElement[]) |
Initializes a new instance of the Chart class with the specified child elements. |
Chart(IEnumerable<OpenXmlElement>) |
Initializes a new instance of the Chart class with the specified child elements. |
Chart(String) |
Initializes a new instance of the Chart class from outer XML. |
Chart()
Initializes a new instance of the Chart class.
public Chart ();
Public Sub New ()
Applies to
Chart(OpenXmlElement[])
Initializes a new instance of the Chart class with the specified child elements.
public Chart (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Drawing.Charts.Chart : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Charts.Chart
Public Sub New (ParamArray childElements As OpenXmlElement())
Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
Chart(IEnumerable<OpenXmlElement>)
Initializes a new instance of the Chart class with the specified child elements.
public Chart (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Drawing.Charts.Chart : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Charts.Chart
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))
Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
Chart(String)
Initializes a new instance of the Chart class from outer XML.
public Chart (string outerXml);
new DocumentFormat.OpenXml.Drawing.Charts.Chart : string -> DocumentFormat.OpenXml.Drawing.Charts.Chart
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.