Watermarks can be removed by PDF Editor [Foxit]

Hi guys,


Our company bought the license of Aspose APIs, in order to create watermarks on our company files.

However, the watermarks that I made by the APIs of Aspose can be easily removed by a PDF editor called “Foxit”. This can be a potential risks for our company.

I have attached the PDF editor “Foxit” and an example PDF. (Software is in Chinese but it is not difficult on operation.)

Could you guys help us to resolve this issue?

Thanks


Hi Dalonggeng,

Thanks for contacting support.

I have tested the scenario and as per my observations, I am able to edit/update PDF document using Foxit Advanced PDF Editor. Please note that when using this application, not only watermark but other files contents i.e. Text, Images etc can also be edited and its the expected behavior of application. However when trying to load the PDF document using your shared version of Foxit, I am getting an error message.

[C#]

//open document

Document pdfDocument = new Document(@"C:\pdftest\test-0118.pdf");

//create text stamp

TextStamp textStamp = new TextStamp("Sample Stamp");

//set whether stamp is background

textStamp.Background = true;

//set origin

textStamp.XIndent = 100;

textStamp.YIndent = 100;

//set text properties

textStamp.TextState.Font = FontRepository.FindFont("Arial");

textStamp.TextState.FontSize = 24.0F;

textStamp.TextState.FontStyle = FontStyles.Bold;

textStamp.TextState.FontStyle = FontStyles.Italic;

textStamp.TextState.ForegroundColor = Aspose.Pdf.Color.FromRgb(System.Drawing.Color.Aqua);

//add stamp to particular page

pdfDocument.Pages[1].AddStamp(textStamp);

//save output document

pdfDocument.Save(@“C:\pdftest</span>test-0118_output.pdf”);