Initializes a new instance of the [WordProcessingWatermarkPagesOptions](../../com.groupdocs.watermark.options/wordprocessingwatermarkpagesoptions) class.
Initializes a new instance of the [WordProcessingWatermarkPagesOptions](../../com.groupdocs.watermark.options/wordprocessingwatermarkpagesoptions) class.
getPageNumbers()
public final int[] getPageNumbers()
Gets the page numbers to add the watermark.
Returns:
int[] - The page numbers to add the watermark.
All numbers must be greater than or equal to 1. This property is only used when adding the watermark to a document. If this value is null or empty, the watermark is added to all pages.
setPageNumbers(int[] value)
public final void setPageNumbers(int[] value)
Sets the page numbers to add the watermark.
Parameters:
Parameter
Type
Description
value
int[]
The page numbers to add the watermark.
All numbers must be greater than or equal to 1. This property is only used when adding the watermark to a document. If this value is null or empty, the watermark is added to all pages. |
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.