Convert Document to PDF in C#
- Convert printable documents to PDF at high speed.
- Support for 64-bit versions of Windows Server 2003 / 2008 / Vista / 7
- PDF/A Standard support for long term archiving of electronic documents.
- PDF/X Standard support for exchange of print-ready PDF files in printing/advertising industries.
- XPS Support (Supports XPS to PDF conversion. Requirement: .NET Framework 3.0 or above).
- Automatic and CSS-driven pagination (smarter page break, developers can also manually control whether they want to have page break or not).
- Automatically handle any exception or error message that may occur in converting HTML and Office documents (Word, Excel, PowerPoint, Visio) to PDF.
- Support many PDF features such as Font Embedding & Subsetting, Image compression, Metadata, PDF Security (e.g. set permission to print, edit), Digital Signature & Stamping, Watermark, PDF Viewer setting.
- Control printer settings such as graphic resolution & scaling, paper orientation & size, printer color.
Type type = Type.GetTypeFromProgID("easyPDF.Loader.7");
Loader oLoader = (Loader)Activator.CreateInstance(type);
Printer oPrinter = (Printer)oLoader.LoadObject("easyPDF.Printer.7");
PrintJob oPrintJob = oPrinter.PrintJob;
Preparing Your Server
- Step 1: Loader Setup
The Loader Object is a helper object to enable easyPDF SDK on the server-side environment. It eliminates many of the server-side configurations that you would otherwise have to deal with.
- Step 2: Microsoft Office Setup
This example shows how to make Microsoft Word ready for server use. All you need to do here is to make sure that there are no pop-up dialogs from Office products during PDF conversion.
- Step 3: COM Security Setup
To make the easyPDF SDK objects run properly on the server-side environment.
Download Free Trial
Watch a QuickStart Video
to see how easy it is to convert Word to PDF.
Complete PDF Features
- “easyPDF SDK setup was very straightforward, unlike our experience with other products. We wrote just a few lines of code to start using it.” Read the case study
- “We evaluated many PDF tools and drivers. We even wrote our own. Except for BCL’s easyPDF SDK, all had limitations we couldn’t live with. Some only converted from MS Office and not very well. Others could not do annotation or text stamping on PDF documents. None were as easy to use and as easy to integrate.” Read the case study