public class

WatermarkUtil

extends Object
java.lang.Object
   ↳ com.pdftron.pdf.dialog.watermark.WatermarkUtil

Class Overview

Class containing utility methods for handling watermark functionality.

Summary

Public Constructors
WatermarkUtil()
Public Methods
static void clearWatermark(PDFViewCtrl pdfViewCtrl)
Clear all watermarks from a document
static void setTextWatermark(PDFViewCtrl pdfViewCtrl, String watermarkText, int textColor, float textOpacity, float textSize, boolean showTimestamp)
Applies a text watermark to all pages in the document.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public WatermarkUtil ()

Public Methods

public static void clearWatermark (PDFViewCtrl pdfViewCtrl)

Clear all watermarks from a document

public static void setTextWatermark (PDFViewCtrl pdfViewCtrl, String watermarkText, int textColor, float textOpacity, float textSize, boolean showTimestamp)

Applies a text watermark to all pages in the document.