Skip to content
ComPDF
DemoSampleAPI ReferenceFAQ

PDF Generation Template Editor

Open-source visual PDF generation engine with customizable templates and developer-friendly APIs.

View on GitHub

Delete Watermark

To delete watermarks, follow these steps:

Call DeleteWatermarks() on the CPDFDocument object to remove all watermarks from the document.

This example shows how to delete the watermark:

C#
// Remove all watermarks from the document.
watermarkDocument.DeleteWatermarks();