Guide for C#
Core Document Formats
Word to PDF
Additional Features

C# Word - Convert Word to PDF in C#.NET

C#.NET Word to PDF Converter / Conversion Control SDK

Visual C#
Home > .NET Imaging SDK > C# > Convert Word to PDF
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!

C# Word to PDF Conversion Overview
RasterEdge Word to PDF converter control SDK is a standalone document converting toolkit, which can easily convert Office Word document (.doc / .docx) to PDF format (.pdf) in C#.NET class application, without using any product from Microsoft or Adobe. The output PDF document (converted from source Word file) maintains the content, layout and formatting of original MS Office Word.
This C#.NET Word to PDF converting library toolkit is a robust and professional third-party SDK that aims to achieve high-quality conversion between Word document and PDF file. Here we display a key feature list of this C# Word to PDF document converting control.
  • 100% managed & thread-safe .NET solution that converts Word to PDF preserving original content
  • Allow developers to select one Word page and convert it to PDF format using C# programming code
  • Able to convert a multi-page MS Word document to one PDF file at once by C# code
  • Offer royalty-free and flexible licenses for C# developers to convert Word to PDF document
From this C#.NET online tutorial page for Word to PDF document conversion, you will get guidance on following aspects.
  • Installation of this Visual C# .NET Word to PDF document converter library control
  • C#.NET method for how to convert MS Office Word document to PDF format
  • Visual C# programming example for Word to PDF conversion in .NET class application
  • C#.NET Word to PDF converting library control FAQs
Besides this C#.NET Word to PDF converting library, RasterEdge Word document converting SDK also contains other professional and advanced document image converting controls. For example, if you are interested in other MS Office Word converting applications, please feel free to try this C#.NET Word to TIFF conversion control & C#.NET Word to HTML converter control. If needed, you can also perform high-fidelity conversion between various image formats by C# programming code.
Convert Word to PDF in C#.NET
This sections mainly talks about the installation of the C#.NET Word to PDF conversion library control. Without any registration code, users can integrate this Word to PDF conversion SDK into their C#.NET class application by adding reference directly. For VB.NET developers, please go to the online tutorial page on how to Convert Word to PDF using VB.NET programming code.
  1. Create a C#.NET class project in Microsoft Visual Studio (2005 or later versions);
  2. Find and integrate following dlls of this Word to PDF conversion SDK into your C#.NET project assemblies;
    • RasterEdge .Imaging.Basic.dll
    • RasterEdge.Imaging.MSWordDocx.dll
    • RasterEdge .Imaging.PDF.dll
  3. Activate the evaluation license key of C#.NET Word to PDF converter SDK by running the executive file "RasterEdge.Imaging License Manager.exe";
  4. Declare the namespace of RasterEdge C#.NET Word to PDF conversion control;
  5. Now you are ready to convert Word document to PDF file with the demo C# code we offer below.
C#.NET Method to Convert Word to PDF
This C#.NET Word to PDF converter SDK offers API for developers to open a source Word document file (.doc / .docx) and save it as PDF format (.pdf).
public void WordConvertToPdf(string WordInputFile, string ImageOutputFile);
C# Example to Convert Word to PDF
The following C# programming example is used to illustrate how to convert a multi-page 2007 version Word document file to one PDF format by C# code.
using RasterEdge.Imaging.Basic.Core;
using RasterEdge.Imaging.Basic;
using RasterEdge.Imaging.MSWordDocx;
using RasterEdge.Imaging.PDF;

RasterEdgeImaging doc = new RasterEdgeImaging();
public void WordConvertToPdf();
{
WordInputFile = (@"C:/1.docx");
ImageOutputFile = ImageFormat.pdf;
}
doc.Save(@"C:/1.docx", 1, @"C:/1.pdf");
C#.NET Word to PDF Conversion FAQs
Q: I want to convert each Word document page to separate PDF format in C#.NET class application. Does this C#.NET Word to PDF converter SDK help me achieve this page to page conversion?
A: Yes, RasterEdge C#.NET Word to PDF converter SDK is able to convert each Word page to corresponding PDF file at once. Besides, the name format of output PDF files is user-defined.


Recommend this to Google+