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

How to VB.NET: Install, Deploy and Distribute XDoc.PDF SDK for VB.NET

Online Guide for XDoc.PDF Installation, Deployment and Distribution in VB.NET program

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 VB.NET application.

System Requirements

Windows XP SP3 or later

Microsoft .NET Framework 2.0 or later

Install XDoc.PDF in VB.NET Project

Add necessary references to your VB.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 VB.NET demo code to your project (PDF to Png conversion demo).

' Convert PDF file to Png image.
Dim pdf As PDFDocument = New PDFDocument(filePath)
pdf.ConvertToImages(ImageType.PNG, "C:\output\", "test")