HeaderFooter Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.Presentation.HeaderFooter : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.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.Presentation.HeaderFooter : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.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.Presentation.HeaderFooter : string -> DocumentFormat.OpenXml.Presentation.HeaderFooter
Public Sub New (outerXml As String)
Parameters
- outerXml
- String
Specifies the outer XML of the element.