PDF Generation Template Editor
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.
Use removeWatermark to remove one watermark by index.
removeWatermark(index: number): Promise<boolean>;
const success = await pdfReaderRef.current?._pdfDocument.removeWatermark(0);
console.log("Remove watermark result:", success);Use removeAllWatermarks to remove all watermarks from the current document.
removeAllWatermarks(): Promise<boolean>;
const success = await pdfReaderRef.current?._pdfDocument.removeAllWatermarks();
console.log("Remove all watermarks result:", success);removeAllWatermarks removes all watermarks from the current document.removeAllWatermarks returns true when the operation succeeds and false when the native platform does not complete the operation.save or saveAs according to your document workflow.