HeaderFooter Constructors

Definition

Overloads

HeaderFooter()

Initializes a new instance of the HeaderFooter class.

HeaderFooter(OpenXmlElement[])

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

HeaderFooter(IEnumerable<OpenXmlElement>)

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

HeaderFooter(String)

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

HeaderFooter()

Initializes a new instance of the HeaderFooter class.

public HeaderFooter ();
Public Sub New ()

Applies to

HeaderFooter(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

HeaderFooter(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

HeaderFooter(String)

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

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

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to