Share via


Dimensions Constructors

Definition

Overloads

Dimensions()

Initializes a new instance of the Dimensions class.

Dimensions(OpenXmlElement[])

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

Dimensions(IEnumerable<OpenXmlElement>)

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

Dimensions(String)

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

Dimensions()

Initializes a new instance of the Dimensions class.

public Dimensions ();
Public Sub New ()

Applies to

Dimensions(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Dimensions(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Dimensions(String)

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

public Dimensions (string outerXml);
new DocumentFormat.OpenXml.Spreadsheet.Dimensions : string -> DocumentFormat.OpenXml.Spreadsheet.Dimensions
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to