com.groupdocs.conversion.converter.option

Class WatermarkOptions



  • public final class WatermarkOptions
    extends Object

    Options for settings watermark to the converted document

    • Constructor Detail

      • WatermarkOptions

        public WatermarkOptions(String watermarkText)

        Create WatermarkOptions class and set watermark text

        Parameters:
        watermarkText -
    • Method Detail

      • getText

        public String getText()

        Watermark text

      • getFont

        public Font getFont()

        Watermark font name

      • getFontInternal

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

        public void setFont(Font value)

        Watermark font name

      • getColor

        public Color getColor()

        Watermark font color

      • getColorInternal

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

        public void setColor(Color value)

        Watermark font color

      • getWidth

        public int getWidth()

        Watermark width

      • setWidth

        public void setWidth(int value)

        Watermark width

      • getHeight

        public int getHeight()

        Watermark height

      • setHeight

        public void setHeight(int value)

        Watermark height

      • getTop

        public int getTop()

        Watermark top position

      • setTop

        public void setTop(int value)

        Watermark top position

      • getLeft

        public int getLeft()

        Watermark left position

      • setLeft

        public void setLeft(int value)

        Watermark left position

      • getRotationAngle

        public int getRotationAngle()

        Watermark rotation angle

      • setRotationAngle

        public void setRotationAngle(int value)

        Watermark rotation angle

      • getTransparency

        public double getTransparency()

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

      • setTransparency

        public void setTransparency(double value)

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