com.groupdocs.viewer.options

Class Watermark



  • public class Watermark
    extends Object

    Represents text watermark.

    • Constructor Detail

    • Method Detail

      • getColor

        public final Color getColor()

        The watermark color. Default value is System.Drawing.Color.Red(Color.getRed()).

      • getFontName

        public final String getFontName()

        The font name used for the watermark.

      • getPosition

        public final int getPosition()

        The watermark position. Default value is Position.Diagonal.

      • getSize

        public final Size getSize()

        The watermark size. Default value is Size.FULL_SIZE.

      • getText

        public final String getText()
      • setColor

        public final void setColor(Color value)

        The watermark color. Default value is System.Drawing.Color.Red(Color.getRed()).

      • setFontName

        public final void setFontName(String value)

        The font name used for the watermark.

      • setPosition

        public final void setPosition(int value)

        The watermark position. Default value is Position.Diagonal.

      • setSize

        public final void setSize(Size value)

        The watermark size. Default value is Size.FULL_SIZE.