com.groupdocs.conversion.options.convert

Class WatermarkOptions

    • Constructor Detail

      • WatermarkOptions

        public WatermarkOptions()

        Create WatermarkOptions class and set watermark text

    • Method Detail

      • 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.

      • isAutoAlign

        public boolean isAutoAlign()
      • setAutoAlign

        public void setAutoAlign(boolean autoAlign)
      • deepClone

        public final Object deepClone()

        Clone current instance

        Returns:
        instance