Hi guys,
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”);