com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class WordsTextPossibleWatermark



  • public class WordsTextPossibleWatermark
    extends PossibleWatermark

    Represents possible watermark in a Word document text.

    • Method Detail

      • getParent

        public DocumentPart getParent()

        Gets the parent of this WordsTextPossibleWatermark.

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

        public double getWidth()

        Gets the width of this WordsTextPossibleWatermark in points.

        Overrides:
        getWidth in class PossibleWatermark
        Returns:
        The value is always 0 for this type of possible watermark.
      • getHeight

        public double getHeight()

        Gets the height of this WordsTextPossibleWatermark in points.

        Overrides:
        getHeight in class PossibleWatermark
        Returns:
        The value is always 0 for this type of possible watermark.
      • getX

        public double getX()

        Gets the horizontal offset of this WordsTextPossibleWatermark from document left border in points.

        Overrides:
        getX in class PossibleWatermark
        Returns:
        The value is always 0 for this type of possible watermark.
      • getY

        public double getY()

        Gets the vertical offset of this WordsTextPossibleWatermark from document top border in points.

        Overrides:
        getY in class PossibleWatermark
        Returns:
        The value is always 0 for this type of possible watermark.
      • getRotateAngle

        public double getRotateAngle()

        Gets the rotate angle of this WordsTextPossibleWatermark in degrees.

        Overrides:
        getRotateAngle in class PossibleWatermark
        Returns:
        The value is always 0 for this type of possible watermark.
      • getText

        public String getText()

        Gets the text of this WordsTextPossibleWatermark.

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

        public void setText(String value)

        Sets the text of this WordsTextPossibleWatermark.

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

        public int getUnitOfMeasurement()

        Gets the unit of measurement of this WordsTextPossibleWatermark.

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