I am looking for an easy way to convert doc and docx extension files to pdf using C# and ASP.NET. I had previously used iTextSharp for the purpose but that requires creating a document from the scratch. But I want a way to convert the Word files as it is to pdf. Like if it includes images, tables etc they must be converted to pdf as it is. Is there any free library or code? Thanks in advance.
Asked
Active
Viewed 1.7k times
7
-
check http://stackoverflow.com/questions/607669/how-do-i-convert-word-files-to-pdf-programmatically – Răzvan Flavius Panda Jan 03 '12 at 10:15
2 Answers
2
1) You can check this PDFConverter, it might helpful to you. It is a COM component, callable from .NET. 2) Or you can check this open source library PDFSharp.
3) And the third option is Aspose libraray

Talha
- 18,898
- 8
- 49
- 66
-
Aspose has more recommendations than others. but still you can check the views and recommendations on web – Talha Jan 03 '12 at 10:48
-
12
0
If you are able to buy a component then you can use Aspose Words, which is best for converting Word document to PDF as it is. There is no need to install Ms Office if this component is used.

Prasanth
- 3,029
- 31
- 44