SpreadsheetBackgroundPossibleWatermark

Inheritance: java.lang.Object, com.groupdocs.watermark.search.PossibleWatermark

public class SpreadsheetBackgroundPossibleWatermark extends PossibleWatermark

Represents possible background watermark in an Excel document.

Constructors

Constructor Description
SpreadsheetBackgroundPossibleWatermark(SpreadsheetWorksheet worksheet)

Methods

Method Description
getParent() Gets the parent of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).
getWidth() Gets the width of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in pixels.
getHeight() Gets the height of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in pixels.
getX() Gets the horizontal offset of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) from worksheet left border in pixels.
getY() Gets the vertical offset of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) from worksheet top border in pixels.
getRotateAngle() Gets the rotate angle of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in degrees.
getUnitOfMeasurement() Gets the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).
getImageInternally()
remove()

SpreadsheetBackgroundPossibleWatermark(SpreadsheetWorksheet worksheet)

public SpreadsheetBackgroundPossibleWatermark(SpreadsheetWorksheet worksheet)

Parameters:

Parameter Type Description
worksheet SpreadsheetWorksheet

getParent()

public ContentPart getParent()

Gets the parent of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).

Returns: ContentPart - The parent of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).

getWidth()

public double getWidth()

Gets the width of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in pixels.

Returns: double - The width of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in pixels.

getHeight()

public double getHeight()

Gets the height of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in pixels.

Returns: double - The height of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in pixels.

getX()

public double getX()

Gets the horizontal offset of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) from worksheet left border in pixels.

Returns: double - The x-coordinate of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).

getY()

public double getY()

Gets the vertical offset of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) from worksheet top border in pixels.

Returns: double - The y-coordinate of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).

getRotateAngle()

public double getRotateAngle()

Gets the rotate angle of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in degrees.

Returns: double - The rotate angle of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark) in degrees.

getUnitOfMeasurement()

public int getUnitOfMeasurement()

Gets the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).

Returns: int - The [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [SpreadsheetBackgroundPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetbackgroundpossiblewatermark).

getImageInternally()

public WatermarkableImage getImageInternally()

Returns: WatermarkableImage

remove()

public void remove()