XDoc.PDF
Features
Tech Specs
How-to VB.NET
Pricing
How to Start Convert PDF Work with PDF Modules PDF Document PDF Pages Text Image Graph & Path Annotation, Markup & Drawing Redaction Security Digital Signature Forms Watermark Bookmark Link File Attachment File Metadata Printing Work with Other SDKs Barcode read Barcode create OCR Twain

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;


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.XDoc.PDF.dll


Use corresponding namespaces;


  RasterEdge.Imaging.Basic


  RasterEdge.XDoc.PDF


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")