Returns an Element object that represents the header of the specified type for this section. The header is returned as a editable element. There are 4 types of headers:

 public Element GetHeader(HeaderFooterType type)
Public Function GetHeader(ByVal type As HeaderFooterType) As Element

A Section.HeaderFooterType object that represents the type of header to return.

An Element object that represents the header of the specified type for this section.


          Element oElement = oSection.GetHeader(Section.HeaderFooterType.All);
        

          Dim oElement As Element = oSection.GetHeader(Section.HeaderFooterType.All)