Legend 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
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.Drawing.Charts.Legend : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Drawing.Charts.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.Drawing.Charts.Legend : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Drawing.Charts.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.Drawing.Charts.Legend : string -> DocumentFormat.OpenXml.Drawing.Charts.Legend
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.