Share via


Layout Constructors

Definition

Overloads

Layout()

Initializes a new instance of the Layout class.

Layout(OpenXmlElement[])

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

Layout(IEnumerable<OpenXmlElement>)

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

Layout(String)

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

Layout()

Initializes a new instance of the Layout class.

public Layout ();
Public Sub New ()

Applies to

Layout(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Layout(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Layout(String)

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

public Layout (string outerXml);
new DocumentFormat.OpenXml.Drawing.Charts.Layout : string -> DocumentFormat.OpenXml.Drawing.Charts.Layout
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to