Initializes a new instance of the [WordProcessingWatermarkHeaderFooterOptions](../../com.groupdocs.watermark.options/wordprocessingwatermarkheaderfooteroptions) class.
Sets the value that identifies the type of header or footer to add the watermark to.
WordProcessingWatermarkHeaderFooterOptions()
public WordProcessingWatermarkHeaderFooterOptions()
Initializes a new instance of the [WordProcessingWatermarkHeaderFooterOptions](../../com.groupdocs.watermark.options/wordprocessingwatermarkheaderfooteroptions) class.
getSectionIndex()
public final int getSectionIndex()
Gets the index of a section to add the watermark to.
Returns:
int - The index of a section to add the watermark to.
-1 means all sections.
setSectionIndex(int value)
public final void setSectionIndex(int value)
Sets the index of a section to add the watermark to.
Parameters:
Parameter
Type
Description
value
int
The index of a section to add the watermark to.
-1 means all sections. |
getHeaderFooterType()
public final int getHeaderFooterType()
Gets the value that identifies the type of header or footer to add the watermark to.
Returns:
int - The value of type [OfficeHeaderFooterType](../../com.groupdocs.watermark.contents/officeheaderfootertype) that identifies the type of header or footer to add the watermark to.
setHeaderFooterType(int value)
public final void setHeaderFooterType(int value)
Sets the value that identifies the type of header or footer to add the watermark to.
Parameters:
Parameter
Type
Description
value
int
The value of type [OfficeHeaderFooterType](../../com.groupdocs.watermark.contents/officeheaderfootertype) that identifies the type of header or footer to add the watermark to.
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.