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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Is it possible to perform Word to PDF conversion in Azure Environment ?

Platform: ASP.NET MVC |
Control: DocIO

Yes, it is possible to perform Word document to PDF conversion in Azure Web sites using Essential DocIO and PDF libraries.

Step 1:

Create an Azure web site project and refer the below Word document to PDF dependent assemblies on it.

  1. Syncfusion.Compression.Base.dll
  2. Syncfusion.OfficeChart.Base.dll
  3. Syncfusion.DocIO.Base.dll
  4. Syncfusion.DocToPDFConverter.Base.dll
  5. Syncfusion.Pdf.Base.dll
  6. Syncfusion.OfficeChartToImageConverter.Wpf.dll
  7. Syncfusion.SfChart.WPF.dll

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


//Loading word document
WordDocument document = new WordDocument(fileName, FormatType.Docx);
document.ChartToImageConverter = new ChartToImageConverter();
DocToPDFConverter converter = new DocToPDFConverter();
//Converts the word document to PDF
PdfDocument pdf = converter.ConvertToPDF(document);
//Saves the PDF document  
pdf.Save("WordtoPDF.pdf", Response, HttpReadType.Save);
document.close() ;



'Loading word document
Dim document As New WordDocument(stream, FormatType.Docx)
document.ChartToImageConverter = New ChartToImageConverter()
Dim converter As New DocToPDFConverter()
'Converts the word document to PDF
Dim pdf As PdfDocument = converter.ConvertToPDF(document)
'Saves the PDF document         
pdf.Save("WordtoPDF.pdf", Response, HttpReadType.Save)


Know limitation:

The metafile images (*.wmf, *.emf) in Word document are not supported while converting to PDF.


Please make use of the below sample for converting Word document into PDF in Azure environment. This sample is created targeting Azure SDK 2.6.210 and Visual studio 2015.

Sample link:


2X faster development

The ultimate ASP.NET MVC UI toolkit to boost your development speed.
You must log in to leave a comment
Suraj Dattatraya Kumbhar
Mar 23, 2018

dlls are currupted after downloading project. How we will know it is working or not?

and how we will get those DLL to add in our project?

Mohanaselvam Jothi [Syncfusion]
Apr 05, 2018

Hi Suraj,

We recommend you to download our latest
Essential Studio 2018 Volume 1 Release v16.1.0.24 from the below link to get the assemblies.

If you are using ASP.Net Core application, then kindly follow the instructions from the below KB link and download the sample application which is also compatible in Azure environment:

Mohanaselvam J


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

Live Chat Icon For mobile