Sparkline Constructors

Definition

Overloads

Sparkline()

Initializes a new instance of the Sparkline class.

Sparkline(OpenXmlElement[])

Initializes a new instance of the Sparkline class with the specified child elements.

Sparkline(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Sparkline class with the specified child elements.

Sparkline(String)

Initializes a new instance of the Sparkline class from outer XML.

Sparkline()

Initializes a new instance of the Sparkline class.

public Sparkline ();
Public Sub New ()

Applies to

Sparkline(OpenXmlElement[])

Initializes a new instance of the Sparkline class with the specified child elements.

public Sparkline (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2010.Excel.Sparkline : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2010.Excel.Sparkline
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Sparkline(IEnumerable<OpenXmlElement>)

Initializes a new instance of the Sparkline class with the specified child elements.

public Sparkline (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2010.Excel.Sparkline : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2010.Excel.Sparkline
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Sparkline(String)

Initializes a new instance of the Sparkline class from outer XML.

public Sparkline (string outerXml);
new DocumentFormat.OpenXml.Office2010.Excel.Sparkline : string -> DocumentFormat.OpenXml.Office2010.Excel.Sparkline
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to