We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Mail merging with PDF

Thread ID:





117326 Sep 27,2014 07:13 PM UTC Oct 1,2014 06:03 AM UTC WinForms 3
Tags: PDF
Rick Langevoort
Asked On September 27, 2014 07:13 PM UTC


I need to do sort of a mail merge thing using the pdf library. So, I have a template with some placeholders which I need to populate with data.

I guess the only way to do that is to create a template that uses form fields and I fill in those form fields during the mail merge action. However I do NOT want the resulting document to contain the form fields; that should just be flat text. Is there anyway to do that (other than setting the form fields ReadOnly property to "true")?


KarthikeyanC [Syncfusion]
Replied On September 29, 2014 06:47 AM UTC

Hi Rick,

Thank you for your interest in Syncfusion Products.


We can able to fill the form fields of the template and flatten the PDF document. Please find the online sample for filling the Pdf form template.



Use the below code snippet for flattening the PDF document.

            PdfLoadedDocument.Form.Flatten = true;



Please let us know if you have any concern.




Rick Langevoort
Replied On September 29, 2014 01:01 PM UTC

Great, that worked! Thanks!

KarthikeyanC [Syncfusion]
Replied On October 1, 2014 06:03 AM UTC

Hi Rick,

Thank you for your update, please let us know if you need any further assistance.





This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon