Initializes a new instance of the [SpreadsheetBackgroundWatermarkOptions](../../com.groupdocs.watermark.options/spreadsheetbackgroundwatermarkoptions) class.
Gets or sets the desired height of the background image in pixels.
SpreadsheetBackgroundWatermarkOptions()
public SpreadsheetBackgroundWatermarkOptions()
Initializes a new instance of the [SpreadsheetBackgroundWatermarkOptions](../../com.groupdocs.watermark.options/spreadsheetbackgroundwatermarkoptions) class.
getWorksheetIndex()
public final int getWorksheetIndex()
Get the index of worksheet to add the watermark to.
-1 means every worksheet.
Returns:
int - The index of worksheet to add the watermark to.
setWorksheetIndex(int value)
public final void setWorksheetIndex(int value)
Sets the index of worksheet to add the watermark to.
-1 means every worksheet.
Parameters:
Parameter
Type
Description
value
int
The index of worksheet to add the watermark to.
getBackgroundWidth()
public final int getBackgroundWidth()
Get the desired width of the background image in pixels.
Returns:
int - The desired width of the background image in pixels.
setBackgroundWidth(int value)
public final void setBackgroundWidth(int value)
Sets the desired width of the background image in pixels.
Parameters:
Parameter
Type
Description
value
int
The desired width of the background image in pixels.
getBackgroundHeight()
public final int getBackgroundHeight()
Gets or sets the desired height of the background image in pixels.
Returns:
int - The desired height of the background image in pixels.
setBackgroundHeight(int value)
public final void setBackgroundHeight(int value)
Gets or sets the desired height of the background image in pixels.
Parameters:
Parameter
Type
Description
value
int
The desired height of the background image in pixels.
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.