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.
To remove a single watermark by index, use removeWatermark:
Future<bool> removeWatermark(int index);
final bool success = await document.removeWatermark(0);
print('Remove watermark result: $success');To remove all watermarks from the document, use removeAllWatermarks:
Future<void> removeAllWatermarks();
await document.removeAllWatermarks();