SpreadsheetHeaderFooterPossibleWatermark

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

public class SpreadsheetHeaderFooterPossibleWatermark extends PossibleWatermark

Represents possible watermark in a header or footer of an Excel document.

Constructors

Constructor Description
SpreadsheetHeaderFooterPossibleWatermark(SpreadsheetHeaderFooterSection section)

Methods

Method Description
getParent() Gets the parent of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).
getWidth() Gets the width of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in points.
getHeight() Gets the height of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in points.
getX() Gets the horizontal offset of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) from worksheet left border in points.
getY() Gets the vertical offset of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) from worksheet top border in points.
getRotateAngle() Gets the rotate angle of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in degrees.
getText() Gets the text of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).
setText(String value) Sets the text of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).
getUnitOfMeasurement() Gets the [UnitOfMeasurement](../../com.groupdocs.watermark.common/unitofmeasurement) of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).
getImageInternally()
remove()

SpreadsheetHeaderFooterPossibleWatermark(SpreadsheetHeaderFooterSection section)

public SpreadsheetHeaderFooterPossibleWatermark(SpreadsheetHeaderFooterSection section)

Parameters:

Parameter Type Description
section SpreadsheetHeaderFooterSection

getParent()

public ContentPart getParent()

Gets the parent of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).

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

getWidth()

public double getWidth()

Gets the width of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in points.

Returns: double - The width of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in points.

getHeight()

public double getHeight()

Gets the height of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in points.

Returns: double - The height of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) in points.

getX()

public double getX()

Gets the horizontal offset of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) from worksheet left border in points.

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

getY()

public double getY()

Gets the vertical offset of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark) from worksheet top border in points.

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

getRotateAngle()

public double getRotateAngle()

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

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

getText()

public String getText()

Gets the text of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).

Returns: java.lang.String - The text of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).

setText(String value)

public void setText(String value)

Sets the text of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).

Parameters:

Parameter Type Description
value java.lang.String The text of this [SpreadsheetHeaderFooterPossibleWatermark](../../com.groupdocs.watermark.search/spreadsheetheaderfooterpossiblewatermark).

getUnitOfMeasurement()

public int getUnitOfMeasurement()

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

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

getImageInternally()

public WatermarkableImage getImageInternally()

Returns: WatermarkableImage

remove()

public void remove()