com.groupdocs.watermark.options

Interfaces

Classes

com.groupdocs.watermark.options

Class SpreadsheetBackgroundWatermarkOptions



  • public final class SpreadsheetBackgroundWatermarkOptions
    extends SpreadsheetWatermarkOptions

    Represents options when adding the watermark as a background to a Spreadsheet worksheet.

    • Constructor Detail

      • SpreadsheetBackgroundWatermarkOptions

        public SpreadsheetBackgroundWatermarkOptions()

        Initializes a new instance of the SpreadsheetBackgroundWatermarkOptions class.

    • Method Detail

      • getWorksheetIndex

        public final int getWorksheetIndex()

        Get or sets the index of worksheet to add the watermark to.

        Returns:
        The index of worksheet to add the watermark to.
      • setWorksheetIndex

        public final void setWorksheetIndex(int value)

        Get or sets the index of worksheet to add the watermark to.

      • getBackgroundWidth

        public final int getBackgroundWidth()

        Get or sets the desired width of the background image in pixels.

        Returns:
        The desired width of the background image in pixels.
      • setBackgroundWidth

        public final void setBackgroundWidth(int value)

        Get or sets the desired width of the background image in pixels.

      • getBackgroundHeight

        public final int getBackgroundHeight()

        Gets the desired height of the background image in pixels.

        Returns:
        The desired height of the background image in pixels.
      • setBackgroundHeight

        public final void setBackgroundHeight(int value)

        Sets the desired height of the background image in pixels.

        Parameters:
        value - The desired height of the background image in pixels.