共用方式為


Fonts Constructors

Definition

Overloads

Fonts()

Initializes a new instance of the Fonts class.

Fonts(OpenXmlElement[])

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

Fonts(IEnumerable<OpenXmlElement>)

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

Fonts(String)

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

Fonts()

Initializes a new instance of the Fonts class.

public Fonts ();
Public Sub New ()

Applies to

Fonts(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Fonts(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Fonts(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to