다음을 통해 공유


Legend Constructors

Definition

Overloads

Legend()

Initializes a new instance of the Legend class.

Legend(OpenXmlElement[])

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

Legend(IEnumerable<OpenXmlElement>)

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

Legend(String)

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

Legend()

Initializes a new instance of the Legend class.

public Legend ();
Public Sub New ()

Applies to

Legend(OpenXmlElement[])

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

public Legend (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.Legend : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.Legend
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Legend(IEnumerable<OpenXmlElement>)

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

public Legend (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.Legend : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.Legend
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Legend(String)

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

public Legend (string outerXml);
new DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.Legend : string -> DocumentFormat.OpenXml.Office2016.Drawing.ChartDrawing.Legend
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to