public final class WordProcessingWatermarkPagesOptions extends WordProcessingWatermarkBaseOptions
Represents options when adding watermark to Word pages.
Constructor and Description |
---|
WordProcessingWatermarkPagesOptions()
Initializes a new instance of the
WordProcessingWatermarkPagesOptions class. |
Modifier and Type | Method and Description |
---|---|
int[] |
getPageNumbers()
Gets the page numbers to add the watermark.
|
void |
setPageNumbers(int[] value)
Sets the page numbers to add the watermark.
|
getAlternativeText, getEffects, getLockType, getName, getPassword, isLocked, setAlternativeText, setEffects, setLocked, setLockType, setName, setPassword
public WordProcessingWatermarkPagesOptions()
Initializes a new instance of the WordProcessingWatermarkPagesOptions
class.
public final int[] getPageNumbers()
Gets 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.
public final void setPageNumbers(int[] value)
Sets 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.
value
- The page numbers to add the watermark.Copyright © 2020. All rights reserved.