FormatOverrides Constructors

Definition

Overloads

FormatOverrides()

Initializes a new instance of the FormatOverrides class.

FormatOverrides(OpenXmlElement[])

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

FormatOverrides(IEnumerable<OpenXmlElement>)

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

FormatOverrides(String)

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

FormatOverrides()

Initializes a new instance of the FormatOverrides class.

C#
public FormatOverrides ();

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1

FormatOverrides(OpenXmlElement[])

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

C#
public FormatOverrides (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1

FormatOverrides(IEnumerable<OpenXmlElement>)

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

C#
public FormatOverrides (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1

FormatOverrides(String)

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

C#
public FormatOverrides (string outerXml);

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to

DocumentFormat.OpenXml 3.0.1 och andra versioner
Produkt Versioner
DocumentFormat.OpenXml 2.18.0, 2.19.0, 2.20.0, 3.0.0, 3.0.1