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.
C#
vb.net
Remarks
To retrieve a HeaderFooterSection object, call one of the following methods:
PageSetup.GetHeader(section)
PageSetup.GetFooter(section)
Methods
Name |
Description |
|---|---|
|
Returns the HeaderFooterPicture that has been embedded in this section of the spreadsheet's header or footer, or null if there is no picture. |
|
| Returns the text that is contained in this section of the header or footer, including formatting codes | |
| Sets the text that will appear in this section of the header or footer | |
| Sets the text that will appear in this section of the header or footer and adds a picture | |
| Sets the text that will appear in this section of the header or footer and adds a picture |
