com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class CellsHeaderFooterPossibleWatermark



  • public class CellsHeaderFooterPossibleWatermark
    extends PossibleWatermark

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

    • Method Detail

      • getParent

        public DocumentPart getParent()

        Gets the parent of this CellsHeaderFooterPossibleWatermark.

        Specified by:
        getParent in class PossibleWatermark
        Returns:
        The parent of this CellsHeaderFooterPossibleWatermark.
      • getWidth

        public double getWidth()

        Gets the width of this CellsHeaderFooterPossibleWatermark in points.

        Overrides:
        getWidth in class PossibleWatermark
        Returns:
        The width of this CellsHeaderFooterPossibleWatermark in points.
      • getHeight

        public double getHeight()

        Gets the height of this CellsHeaderFooterPossibleWatermark in points.

        Overrides:
        getHeight in class PossibleWatermark
        Returns:
        The height of this CellsHeaderFooterPossibleWatermark in points.
      • getX

        public double getX()

        Gets the horizontal offset of this CellsHeaderFooterPossibleWatermark from worksheet left border in points.

        Overrides:
        getX in class PossibleWatermark
        Returns:
        The x-coordinate of this CellsHeaderFooterPossibleWatermark.
      • getY

        public double getY()

        Gets the vertical offset of this CellsHeaderFooterPossibleWatermark from worksheet top border in points.

        Overrides:
        getY in class PossibleWatermark
        Returns:
        The y-coordinate of this CellsHeaderFooterPossibleWatermark.
      • getRotateAngle

        public double getRotateAngle()

        Gets the rotate angle of this CellsHeaderFooterPossibleWatermark in degrees.

        Overrides:
        getRotateAngle in class PossibleWatermark
        Returns:
        The rotate angle of this CellsHeaderFooterPossibleWatermark in degrees.
      • getText

        public String getText()

        Gets the text of this CellsHeaderFooterPossibleWatermark.

        Overrides:
        getText in class PossibleWatermark
        Returns:
        The text of this CellsHeaderFooterPossibleWatermark.
      • setText

        public void setText(String value)

        Sets the text of this CellsHeaderFooterPossibleWatermark.

        Overrides:
        setText in class PossibleWatermark
        Parameters:
        value - The text of this CellsHeaderFooterPossibleWatermark.
      • getUnitOfMeasurement

        public int getUnitOfMeasurement()

        Gets the unit of measurement of this CellsHeaderFooterPossibleWatermark.

        Overrides:
        getUnitOfMeasurement in class PossibleWatermark
        Returns:
        The unit of measurement of this CellsHeaderFooterPossibleWatermark.