Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introducedin
4.5.1
4.5.1
Description

Excerpt

Returns a section of the footer.

Signature
C#
C#

public HeaderFooterSection GetFooter(HeaderFooterSection.Section section)
Signature
vb.net
vb.net

Public Function GetFooter(ByVal section As HeaderFooterSection.Section) As HeaderFooterSection

Parameters

Param
section
section

The section of the footer to return

Returns

A HeaderFooterSection object representing the specified section of the footer

Example
Code Block
csharp
csharp
titleC#
          //--- Get the left footer of the first worksheet
          HeaderFooterSection myLeftFooter = WB[0].PageSetup.GetFooter(HeaderFooterSection.Section.Left);
Code Block
vb.net
vb.net
titlevb.net
          '--- Get the left footer of the first worksheet
          Dim myLeftFooter As HeaderFooterSection = WB[0].PageSetup.GetFooter(HeaderFooterSection.Section.Left)
        
Remarks

You can use a HeaderFooterSection object to manipulate a given section of the header or footer, such as the text or image that appears in that section. Note that the total length of the text in all sections of the footer may not exceed 255 characters.