com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class DiagramCommentPossibleWatermark



  • public class DiagramCommentPossibleWatermark
    extends PossibleWatermark

    Represents possible watermark in a Visio document comment.

    • Method Detail

      • getParent

        public DocumentPart getParent()

        Gets the parent of this DiagramCommentPossibleWatermark.

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

        public double getWidth()

        Gets the width of this DiagramCommentPossibleWatermark 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 DiagramCommentPossibleWatermark 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 DiagramCommentPossibleWatermark from page left border in points.

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

        public double getY()

        Gets the vertical offset of this DiagramCommentPossibleWatermark from page bottom border in points.

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

        public double getRotateAngle()

        Gets the rotate angle of this DiagramCommentPossibleWatermark 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 DiagramCommentPossibleWatermark.

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

        public void setText(String value)

        Sets the text of this DiagramCommentPossibleWatermark.

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

        public int getUnitOfMeasurement()

        Gets the unit of measurement of this DiagramCommentPossibleWatermark.

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