Share via


FontReference Constructors

Definition

Overloads

FontReference()

Initializes a new instance of the FontReference class.

FontReference(OpenXmlElement[])

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

FontReference(IEnumerable<OpenXmlElement>)

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

FontReference(String)

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

FontReference()

Initializes a new instance of the FontReference class.

public FontReference ();
Public Sub New ()

Applies to

FontReference(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

FontReference(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

FontReference(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to