Share via


MajorFont Constructors

Definition

Overloads

MajorFont()

Initializes a new instance of the MajorFont class.

MajorFont(OpenXmlElement[])

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

MajorFont(IEnumerable<OpenXmlElement>)

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

MajorFont(String)

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

MajorFont()

Initializes a new instance of the MajorFont class.

public MajorFont ();
Public Sub New ()

Applies to

MajorFont(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

MajorFont(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

MajorFont(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to