SpreadsheetHeaderFooterCollection
Leave feedback
On this page
Inheritance: java.lang.Object, com.groupdocs.watermark.common.ReadOnlyListBase
public class SpreadsheetHeaderFooterCollection extends ReadOnlyListBase<SpreadsheetHeaderFooter>
Represents a collection of headers and footers in an Excel document.
This collection contains the items of [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter) type.
| Constructor | Description |
|---|---|
| SpreadsheetHeaderFooterCollection(SpreadsheetWorksheet worksheet) |
| Method | Description |
|---|---|
| getByOfficeHeaderFooterType(int headerFooterType) | Gets the header or footer of specified type. |
public SpreadsheetHeaderFooterCollection(SpreadsheetWorksheet worksheet)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| worksheet | SpreadsheetWorksheet |
public final SpreadsheetHeaderFooter getByOfficeHeaderFooterType(int headerFooterType)
Gets the header or footer of specified type.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| headerFooterType | int | A [OfficeHeaderFooterType](../../com.groupdocs.watermark.contents/officeheaderfootertype) value that specifies the type of the header/footer to get. |
Returns:
SpreadsheetHeaderFooter - The [SpreadsheetHeaderFooter](../../com.groupdocs.watermark.contents/spreadsheetheaderfooter) of specified type.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.