Access Keys:
Skip to content (Access Key - 0)


HeaderFooterSection

Introduced in build 4.5.1

Description

The HeaderFooterSection class represents an area of the header or footer. It allows you to set and retrieve the content in that area.

Signature: C#
Signature: VB.NET

Remarks

To retrieve a HeaderFooterSection object, call one of the following methods:

PageSetup.GetHeader(section)
PageSetup.GetFooter(section)

Methods

Name Description
GetPicture()

Returns the HeaderFooterPicture that has been embedded in this section of the spreadsheet's header or footer, or null if there is no picture.

GetText()
Returns the text that is contained in this section of the header or footer, including formatting codes
SetContent(String)
Sets the text that will appear in this section of the header or footer
SetContent(String, String)
Sets the text that will appear in this section of the header or footer and adds a picture
SetContent(String, System.IO.Stream)
Sets the text that will appear in this section of the header or footer and adds a picture

Nested Classes

Name Description
Section
A Section value specifies a section of the header or footer.
Adaptavist Theme Builder Powered by Atlassian Confluence