com.groupdocs.conversion.options.convert

Class WatermarkOptions

    • Constructor Detail

      • WatermarkOptions

        public WatermarkOptions()

        Create WatermarkOptions class and set watermark text

    • Method Detail

      • getText

        public final String getText()

        Watermark text

      • setText

        public final void setText(String value)

        Watermark text

      • getFont

        public final Font getFont()

        Watermark font name if text watermark is applied

      • getFontInternal

        public com.aspose.ms.System.Drawing.Font getFontInternal()
      • setFont

        public final void setFont(Font value)

        Watermark font name if text watermark is applied

      • getColor

        public final Color getColor()

        Watermark font color if text watermark is applied

      • getColorInternal

        public com.aspose.ms.System.Drawing.Color getColorInternal()
      • setColor

        public final void setColor(Color value)

        Watermark font color if text watermark is applied

      • getWidth

        public final int getWidth()

        Watermark width

      • setWidth

        public final void setWidth(int value)

        Watermark width

      • getHeight

        public final int getHeight()

        Watermark height

      • setHeight

        public final void setHeight(int value)

        Watermark height

      • getTop

        public final int getTop()

        Watermark top position

      • setTop

        public final void setTop(int value)

        Watermark top position

      • getLeft

        public final int getLeft()

        Watermark left position

      • setLeft

        public final void setLeft(int value)

        Watermark left position

      • getRotationAngle

        public final int getRotationAngle()

        Watermark rotation angle

      • setRotationAngle

        public final void setRotationAngle(int value)

        Watermark rotation angle

      • getTransparency

        public final double getTransparency()

        Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.

      • setTransparency

        public final void setTransparency(double value)

        Watermark transparency. Value between 0 and 1. Value 0 is fully visible, value 1 is invisible.

      • getBackground

        public final boolean getBackground()

        Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top.

      • setBackground

        public final void setBackground(boolean value)

        Indicates that the watermark is stamped as background. If the value is true, the watermark is laid at the bottom. By default is false and the watermark is laid on top.

      • getImage

        public final byte[] getImage()

        Image watermark

      • setImage

        public final void setImage(byte[] value)

        Image watermark

      • deepClone

        public final Object deepClone()

        Clone current instance

        Returns:
        instance
      • memberwiseClone

        protected Object memberwiseClone()