Guides
Remove Watermark
Remove Watermarks
Use removeAllWatermarks to remove all watermarks from the current document.
tsx
removeAllWatermarks(): Promise<boolean>;
const success = await pdfReaderRef.current?._pdfDocument.removeAllWatermarks();
console.log("Remove all watermarks result:", success);Notes
removeAllWatermarksremoves all watermarks from the current document.removeAllWatermarksreturnstruewhen the operation succeeds andfalsewhen the native platform does not complete the operation.- Watermark changes modify the in-memory document. To persist the changes, call
saveorsaveAsaccording to your document workflow.