Free Support Forum - groupdocs.com

Download file with watermark


#1

Hello Team,


Is it possible to download file that has added watermark on it?
I can see there is an option to print with watermark, but downloaded document doesn’t have it.

Watermark(string watermarkText,
System.Drawing.
Color? watermarkColor = null, WatermarkPosition watermarkPosition = WatermarkPosition.Diagonal, float watermarkWidthInPercents = 0f, bool printWithWatermark = false);<o:p></o:p>


Thank you.

#2

Hello Deric,


Thank you for the request. To download document with the watermark you should set printWithWatermark = true and .DownloadPdfFileIfPossible(true)

Best regards.

#3

Hi Pavel,


Thank you for your help, I have managed to enable download with watermark.
But there is a problem with layout - orientation and watermark size is changed after download.
Could you please review this project with latest dll and let me know how it can be fixed?
I have also attached screenshots of this problem.

Thanks!

#4

Just following up on this. Let me know if you can issue a ticket. Thanks!


#5

Hi Deric,


Sorry for the delay. We have fixed the issue and this fix will be available in the Viewer 2.18.0. I will notify you when this version will be released.

Best regards.