MergeCells Constructors

Definition

Overloads

MergeCells()

Initializes a new instance of the MergeCells class.

MergeCells(OpenXmlElement[])

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

MergeCells(IEnumerable<OpenXmlElement>)

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

MergeCells(String)

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

MergeCells()

Initializes a new instance of the MergeCells class.

public MergeCells ();
Public Sub New ()

Applies to

MergeCells(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

MergeCells(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

MergeCells(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to