Class WatermarkTextParams

java.lang.Object
com.datalogics.PDFL.WatermarkTextParams

public class WatermarkTextParams extends Object
Watermark settings to control the appearance of text in a text-based watermark.
  • Constructor Details

    • WatermarkTextParams

      public WatermarkTextParams()
  • Method Details

    • delete

      public void delete()
    • getText

      public String getText()
      The text to be used when generating a text-based watermark.
    • setText

      public void setText(String arg0)
      The text to be used when generating a text-based watermark.
    • getFont

      public Font getFont()
      The Font to be used when generating a text-based watermark.
    • setFont

      public void setFont(Font font)
      The Font to be used when generating a text-based watermark.
    • setTextAlign

      public void setTextAlign(HorizontalAlignment h)
      The alignment to be used when justifying a text-based watermark.
    • getTextAlign

      public HorizontalAlignment getTextAlign()
      Set the alignment to be used when justifying a text-based watermark.
    • getColor

      @Deprecated public Color getColor()
      Deprecated.
      The color to be used when generating a text-based watermark.
    • setColor

      public void setColor(Color color)
      The color to be used when generating a text-based watermark.
    • setFontSize

      public void setFontSize(float value)
    • getFontSize

      public float getFontSize()