Tech Specs
How-to C#
How-to VB.NET
C# PDF: How to PDF Create PDF Export File and Page Process PDF Read PDF Write Form Process Document Protect Annotation & Drawing PDF Print WPF Viewer & Editor Work with Other SDKs Barcode Read Barcode Create OCR Twain
Install, Deploy & Distribute
Home ›› XDoc.PDF ›› C# PDF: Install, Deploy and Distribute

C#.NET PDF: Install, Deploy and Distribute C#.NET XDoc.PDF SDK

Online C# Guide for .NET XDoc.PDF Component Installation, Deployment and Distribution

Look for HTML5 PDF Editor?

EdgePDF: ASP.NET PDF Editor is the best HTML5 PDF Editor and ASP.NET PDF Viewer based on XDoc.PDF, JQuery, HTML5. It supports ASP.NET MVC and WebForms projects.

There are two parts on this page, including system requirements for using XDoc.PDF, and how to install XDoc.PDF into Visual Studio C#.NET application.

System Requirements

Windows XP SP3 or later

Microsoft .NET Framework 2.0 or later

Install XDoc.PDF in C#.NET Project

Add necessary references to your C#.NET project. Right-click the project and select "Add Reference..." to locate and add the following DLLs as project references;









Use corresponding namespaces;



Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:


       If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.


       If using x86, the platform target should be x86.

Add the following C# demo code to your project (PDF to Png conversion demo).

// Convert PDF file to Png image.
PDFDocument pdf = new PDFDocument(filePath);
pdf.ConvertToImages(ImageType.PNG, @"C:\output\", "test");