SpreadsheetHeaderFooterSectionCollection
Inheritance: java.lang.Object, com.groupdocs.watermark.common.ReadOnlyListBase
public class SpreadsheetHeaderFooterSectionCollection extends ReadOnlyListBase<SpreadsheetHeaderFooterSection>
Represents a collection of header/footer sections.
This collection contains the items of [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection) type.
Constructors
| Constructor | Description | 
|---|---|
| SpreadsheetHeaderFooterSectionCollection(SpreadsheetHeaderFooter headerFooter) | 
Methods
| Method | Description | 
|---|---|
| getBySpreadsheetHeaderFooterSectionType(int headerFooterSectionType) | Gets the header/footer section of specified type. | 
SpreadsheetHeaderFooterSectionCollection(SpreadsheetHeaderFooter headerFooter)
public SpreadsheetHeaderFooterSectionCollection(SpreadsheetHeaderFooter headerFooter)
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| headerFooter | SpreadsheetHeaderFooter | 
getBySpreadsheetHeaderFooterSectionType(int headerFooterSectionType)
public final SpreadsheetHeaderFooterSection getBySpreadsheetHeaderFooterSectionType(int headerFooterSectionType)
Gets the header/footer section of specified type.
Parameters:
| Parameter | Type | Description | 
|---|---|---|
| headerFooterSectionType | int | A [SpreadsheetHeaderFooterSectionType](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersectiontype) value that specifies the type of the section to get. | 
Returns:
SpreadsheetHeaderFooterSection - The [SpreadsheetHeaderFooterSection](../../com.groupdocs.watermark.contents/spreadsheetheaderfootersection) of specified type.