Delete the watermark

Hi! I obtained the temporary license, but when I try to delete the watermark from a PDF in Java, it does not work

image.png (43,7 KB)

please help, the code:

		License license = new License();
		license.setLicense("C:\\STS\\GroupDocs.WatermarkforJava.lic");
		 
		Watermarker watermarker = new Watermarker("C:\\STS\\SECR_ADM_Acuerdo_768_6878_19-02-2024.pdf");
		
		 
		PossibleWatermarkCollection possibleWatermarks = watermarker.search();
		 
		possibleWatermarks.clear(); 
		watermarker.save("C:\\STS\\output.pdf");
1 Like

@dcondori

Could you please share the source PDF? And which watermark you expect to be removed from the PDF?