com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class PossibleWatermark

    • Method Detail

      • getParent

        public abstract DocumentPart getParent()

        Gets the parent of this PossibleWatermark.

        Returns:
        The parent of this PossibleWatermark.
      • getWidth

        public double getWidth()

        Gets the width of this PossibleWatermark.

        Returns:
        The width of this PossibleWatermark.
      • getHeight

        public double getHeight()

        Gets the height of this PossibleWatermark.

        Returns:
        The height of this PossibleWatermark.
      • getX

        public double getX()

        Gets the x-coordinate of this PossibleWatermark.

        Returns:
        The x-coordinate of this PossibleWatermark.
      • getY

        public double getY()

        Gets the y-coordinate of this PossibleWatermark.

        Returns:
        The y-coordinate of this PossibleWatermark.
      • getRotateAngle

        public double getRotateAngle()

        Gets the rotate angle of this PossibleWatermark in degrees.

        Returns:
        The rotate angle of this PossibleWatermark.
      • getText

        public String getText()

        Gets the text of this PossibleWatermark.

        Returns:
        The text of this PossibleWatermark.
      • setText

        public void setText(String value)

        Sets the text of this PossibleWatermark.

        Parameters:
        value - The text of this PossibleWatermark.
      • getFormattedTextFragments

        public FormattedTextFragmentCollection getFormattedTextFragments()

        Gets the collection of formatted text fragments of this PossibleWatermark.

        Returns:
        The collection of formatted text fragments of this PossibleWatermark.
      • getImageData

        public final byte[] getImageData()

        Gets the image of this PossibleWatermark.

        Returns:
        The image of this PossibleWatermark. Returns null if the watermark has no image.
      • setImageData

        public final void setImageData(byte[] value)

        Sets the image of this PossibleWatermark.

        Parameters:
        value - The image of this PossibleWatermark. Returns null if the watermark has no image.
      • getUnitOfMeasurement

        public int getUnitOfMeasurement()

        Gets the unit of measurement of this PossibleWatermark.

        Returns:
        The unit of measurement of this PossibleWatermark.