Adding a watermark over all pdf text when a document expires

Hello,

Im looking to add a watermark or some sort of a "cover" over the contents of a pdf, that says "Expired" when a pdf is expired. I imagine this will be some bit of javascript as well, and maybe working with layers? Can you please advise? 


Thank you for your help,

Shane 


3 Replies

MK Moorthy Karunanithi Syncfusion Team August 5, 2021 02:50 PM UTC

Hi Shane,  
 
Thank you for contacting Syncfusion support. 
 
We can add JavaScript action to the PDF document to set the document to expire. As of now, we did not find any workable javascript action to add the watermark on the expired document.   
 
Please refer to the below KB documentation to set the expiry date to a PDF document, 
 
Please let us know, you need any further assistance  
Regards, 
Moorthy K 



SS Shane Scholl replied to Moorthy Karunanithi August 5, 2021 11:34 PM UTC

Moorthy,

Thank you for your response. I do have the Expire feature working currently, what im looking to do is when the document is expired, i would like to overlay something over the information that is on the pdf, to indicate it was expired. 


Regards,

Shane



GK Gowthamraj Kumar Syncfusion Team August 6, 2021 02:11 PM UTC

Hi Shane, 
 
Thank you for your update. 
 
No. It is not possible to add the watermark or overlay information on expired document. We achieve this expire support by using JavaScriptAction, in that we could not add text or content using any script with our PDF library.  
 
Regards, 
Gowthamraj K 


Loader.
Up arrow icon