.NET PDF to Image Converter SDK

    Online Tutorial
CnetSDK .NET PDF to Image Converter SDK is a powerful PDF converter library DLL for .NET windows and web applications. This .NET PDF to image converter library component has full and advanced PDF conversion & rendering methods for you to accurately convert PDF to JPEG/JPG, PNG, GIF, BMP, and TIFF/TIF image files, including multiple page TIFF image.
DEVELOPMENT REQUIREMENT
​CnetSDK .NET PDF to Image Converter SDK is a complete and independent .NET PDF converter library for images, such as JPEG, JPG, TIFF, PNG and so on. It's quiet easy to use. As long as your development environment is  Windows system, .NET Framework 2.0 or above, and Visual Studio 2005 or above, you can easily integrate our PDF converter library dll for your .NET application development, compatible with C# and  VB.NET programming languages.
HOW TO INTEGRATE PDF CONVERTER SDK
1. Please firstly download free trial package of .NET PDF to Image Converter online.
2. Choose the suitable PDF converter library dll for your Visual Studio .NET project. based on your system and .NET Framework.
3. Add .NET project reference to CnetSDK.PDFtoImage.Converter.Trial.dll. Now, all mature PDF to image conversion and rendering features are available for your VS C# or VB.NET project.
 
Please Note: a watermark ("www.cnetsdk.com") will be shown on each converted image file randomly if you are using free trial package of CnetSDK .NET PDF to Image Converter SDK.
.NET APIS AND METHODS
The following .NET APIs and methods can help you to render, transform, and convert PDF to images for .NET windows and web applications. In details, you can easily load a PDF document from a file stream, memory stream or local file on your disk to Visual Studio .NET project, and then render and convert the whole PDF file, one PDF page, or a range of PDF pages to raster image file(s). By using .NET APIs and methods below, image size (width and height) can be customized in your .NET PDF to image conversion application.
1. How to Load PDF Document to Your VS .NET Project

// Load a PDF document from a filestream or memorystream.
public bool LoadPdfFile(Stream Stream);


// Load a PDF document from a local file on your disk.
public bool LoadPdfFile(string fileName);

 

2. How to Get the Page Number of Loaded PDF Document

// Return the number of all PDF pages.
public int FilePageCount;


 
3. How to Render and Convert PDF to Image in .NET

// Render and convert specified page(s) of PDF to image(s).
// With current DPI value, the converted image size is original size of PDF page.
public Bitmap ConvertToImage(int pageIndex);


// Render and Convert specified page(s) of PDF to image(s) with certain image width and height.
public Bitmap ConvertToImage(int pageIndex, int ImageWidth, int ImageHeight);


 
4. How to Get Page Width and Height of PDF Document

// Get width and height of certain PDF page(s).
// Width and height will be changed with different DPI values.
public int GetPageSetHeight(int pageIndex);
public int GetPageSetWidth(int pageIndex);


 
5. How to Set or Return DPI Value

public double SetDPI;
MORE TUTORIALS FOR PDF CONVERTER SDK
To help you have quick evaluation on CnetSDK .NET PDF to Image Converter SDK, we provide online tutorial for How to Convert PDF to Images for ASP.NET web application. Moreover, Visual C# and VB.NET sample codes for .NET PDF conversion to images are also provided online. Please refer to: How to Convert PDF to Images C# Sample Code, How to Convert PDF to Images VB.NET sample code.
.NET PDF TO IMAGES CONVERSION

Convert PDF to JPEG/JPG in .NET

Convert PDF to TIFF in .NET

Convert PDF to PNG in .NET

Convert PDF to GIF in .NET

Convert PDF to BMP in .NET

Convert PDF to Multi-page TIFF in .NET