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?

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.

C#

 

VB

 

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.

C#

 

VB

 

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.

C#

 

VB

 

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.

Sample

Article ID: Published Date: Last Revised Date: Platform: Control:
7238 01/19/2017 02/08/2017 WPF DocIO
Did you find this information helpful?
Comments
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.  

Reply
Add Comment
You must log in to leave a comment

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