Class WatermarkParams

java.lang.Object
com.datalogics.PDFL.WatermarkParams

public class WatermarkParams extends Object
Watermark settings control the appearance of a watermark in a PDF.
  • Constructor Details

    • WatermarkParams

      public WatermarkParams()
  • Method Details

    • delete

      public void delete()
    • getTargetRange

      public PageRange getTargetRange()
      The page range of the document to which the watermark should be added.
    • setHorizAlign

      public void setHorizAlign(HorizontalAlignment h)
      The horizontal alignment to be used when adding the watermark to a page.
    • getHorizAlign

      public HorizontalAlignment getHorizAlign()
      Get the horizontal alignment to be used when adding the watermark to a page.
    • setVertAlign

      public void setVertAlign(VerticalAlignment v)
      The vertical alignment to be used when adding the watermark to a page.
    • getVertAlign

      public VerticalAlignment getVertAlign()
      Get the vertical alignment to be used when adding the watermark to a page.
    • setWatermarkDrawOption

      public void setWatermarkDrawOption(WatermarkDrawOption drawoption)
      The draw option to be used when adding the watermark to a page.
    • getWatermarkDrawOption

      public WatermarkDrawOption getWatermarkDrawOption()
      Get the draw option to be used when adding the watermark to a page.
    • setFixedPrint

      public void setFixedPrint(boolean value)
    • getFixedPrint

      public boolean getFixedPrint()
    • setZOrderTop

      public void setZOrderTop(boolean value)
    • getZOrderTop

      public boolean getZOrderTop()
    • setShowOnScreen

      public void setShowOnScreen(boolean value)
    • getShowOnScreen

      public boolean getShowOnScreen()
    • setShowOnPrint

      public void setShowOnPrint(boolean value)
    • getShowOnPrint

      public boolean getShowOnPrint()
    • setHorizValue

      public void setHorizValue(float value)
    • getHorizValue

      public float getHorizValue()
    • setVertValue

      public void setVertValue(float value)
    • getVertValue

      public float getVertValue()
    • setPercentageVals

      public void setPercentageVals(boolean value)
    • getPercentageVals

      public boolean getPercentageVals()
    • setScale

      public void setScale(float value)
    • getScale

      public float getScale()
    • setRotation

      public void setRotation(float value)
    • getRotation

      public float getRotation()
    • setOpacity

      public void setOpacity(float value)
    • getOpacity

      public float getOpacity()