com.groupdocs.annotation.models.annotationmodels

Class WatermarkAnnotation

    • Constructor Detail

      • WatermarkAnnotation

        public WatermarkAnnotation()

        Initializes new instance of WatermarkAnnotation class.

    • Method Detail

      • deepClone

        public Object deepClone()

        Returns new Instance with same values

        Specified by:
        deepClone in interface com.aspose.ms.System.ICloneable
        Overrides:
        deepClone in class AnnotationBase
        Returns:
      • equals

        public boolean equals(Object o)

        Compares Watermark Annotations using standard object Equals method

        Specified by:
        equals in interface com.aspose.ms.System.IEquatable<AnnotationBase>
        Overrides:
        equals in class AnnotationBase
        Parameters:
        o - The object to compare with the current object
      • equals

        public final boolean equals(WatermarkAnnotation other)

        Compares Watermark Annotations using IEquatable Equals method

        Parameters:
        other - The WatermarkAnnotation object to compare with the current object
        Returns:
      • getAngle

        public final Double getAngle()

        Gets or sets watermark rotation angle

        Specified by:
        getAngle in interface IAngle
        Returns:
      • getBox

        public final Rectangle getBox()

        Gets or sets annotation position

        Specified by:
        getBox in interface IBox
        Returns:
      • getFontColor

        public final Integer getFontColor()

        Gets or sets watermark text font color

        Specified by:
        getFontColor in interface IFontColor
        Returns:
      • getFontFamily

        public final String getFontFamily()

        Gets or sets watermark text font family

        Specified by:
        getFontFamily in interface IFontFamily
        Returns:
      • getFontSize

        public final Double getFontSize()

        Gets or sets watermark text font size

        Specified by:
        getFontSize in interface IFontSize
        Returns:
      • getHorizontalAlignment

        public final Integer getHorizontalAlignment()

        Gets or sets watermark horizontal alignment on document

        Specified by:
        getHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignment
        Returns:
      • getOpacity

        public final Double getOpacity()

        Gets or sets annotation opacity

        Specified by:
        getOpacity in interface IOpacity
        Returns:
      • getText

        public final String getText()

        Gets or sets watermark text

        Specified by:
        getText in interface IText
        Returns:
      • getVerticalAlignment

        public final Integer getVerticalAlignment()

        Gets or sets watermark vertical alignment on document

        Specified by:
        getVerticalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignment
        Returns:
      • hashCode

        public int hashCode()

        Returns HashCode of Watermark Annotation

        Overrides:
        hashCode in class AnnotationBase
      • setAngle

        public final void setAngle(Double value)

        Gets or sets watermark rotation angle

        Specified by:
        setAngle in interface IAngle
        Parameters:
        value -
      • setBox

        public final void setBox(Rectangle value)

        Gets or sets annotation position

        Specified by:
        setBox in interface IBox
      • setFontColor

        public final void setFontColor(Integer value)

        Gets or sets watermark text font color

        Specified by:
        setFontColor in interface IFontColor
        Parameters:
        value -
      • setFontFamily

        public final void setFontFamily(String value)

        Gets or sets watermark text font family

        Specified by:
        setFontFamily in interface IFontFamily
        Parameters:
        value -
      • setFontSize

        public final void setFontSize(Double value)

        Gets or sets watermark text font size

        Specified by:
        setFontSize in interface IFontSize
        Parameters:
        value -
      • setHorizontalAlignment

        public final void setHorizontalAlignment(Integer value)

        Gets or sets watermark horizontal alignment on document

        Specified by:
        setHorizontalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IHorizontalAlignment
        Parameters:
        value -
      • setOpacity

        public final void setOpacity(Double value)

        Gets or sets annotation opacity

        Specified by:
        setOpacity in interface IOpacity
        Parameters:
        value -
      • setText

        public final void setText(String value)

        Gets or sets watermark text

        Specified by:
        setText in interface IText
        Parameters:
        value -
      • setVerticalAlignment

        public final void setVerticalAlignment(Integer value)

        Gets or sets watermark vertical alignment on document

        Specified by:
        setVerticalAlignment in interface com.groupdocs.annotation.models.annotationmodels.interfaces.properties.IVerticalAlignment
        Parameters:
        value -