This article shows how to convert a Microsoft Word document to other document formats such PDFs, HTML, Rich Text Format (RTF), Text, XML, xps.
This code snippet shows how to convert a Microsoft Office Word document to other document formats such
PDFs, HTML, Rich Text Format (RTF), Text, XML, xps. We are going to use Office Interoperability for this purpose.
Download the Primary Interop Assemblies (PIAs) from following links.
MS Office 2007
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=59daebaa-bed4-4282-a28c-b864d8bfa513&displaylang=en
MS Office 2010
http://www.microsoft.com/downloads/en/details.aspx?FamilyID=938fe8ad-583b-4bd7-a345-23250dc15855
Adding the references.
Printing in C# Made Easy