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

How to generate PDF report starting from Word document?

Platform: WPF |
Control: DocIO |
Published Date: January 19, 2017 |
Last Revised Date: February 8, 2017

You can generate PDF report starting from Word document by using Essential DocIO and Essential PDF. Below steps need to be followed,

For more information about the required assemblies, please refer our UG documentation page.

Step 1: Create a Word document from scratch

Create template Word document with merge fields using Essential DocIO.

The following code example shows how to create a Word document template with merge fields.





The generated template document looks as follows.

Step 2: Perform Mail merge

The Mail merge operation replaces the matching merge fields with the respective data.

The following code example shows how to perform a simple Mail merge in the generated template document with string array as data source.





The resultant document looks as follows.

Step 3: Convert the Word document to PDF

The following code example illustrates how to convert a Word document into PDF document.





The generated PDF report looks as follows.

The following simple sample with complete code snippets demonstrates on how to generate PDF report starting from Word document using Essential DocIO and PDF.


2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment
Christopher Joshua
Feb 17, 2018

I will suggest to using ZetPDF to Create, Edit, Convert, Protect or Print PDF documents, without requiring Adobe Acrobat. It's the fastest pdf SKD for .NET applications.  

Jordan Capa
Apr 23, 2019

this is very helpful! for beginners and want to save time, I found zetpdf.com i heard a lot of this from my co workers. i tried using it nad it's really convenient and easy to use!

Jordan Capa
Apr 23, 2019

thanks for the information! i recommend using zetpdf.com if you're looking for a very fast and helpful pdf sdk.


Please sign in to access our KB

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

Up arrow icon

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