Share via


CellFormats Constructors

Definition

Overloads

CellFormats()

Initializes a new instance of the CellFormats class.

CellFormats(OpenXmlElement[])

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

CellFormats(IEnumerable<OpenXmlElement>)

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

CellFormats(String)

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

CellFormats()

Initializes a new instance of the CellFormats class.

public CellFormats ();
Public Sub New ()

Applies to

CellFormats(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

CellFormats(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

CellFormats(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to