Udostępnij za pośrednictwem


CellFormat Constructors

Definition

Overloads

CellFormat()

Initializes a new instance of the CellFormat class.

CellFormat(OpenXmlElement[])

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

CellFormat(IEnumerable<OpenXmlElement>)

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

CellFormat(String)

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

CellFormat()

Initializes a new instance of the CellFormat class.

public CellFormat ();
Public Sub New ()

Applies to

CellFormat(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

CellFormat(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

CellFormat(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to