Visual C#.NET: Convert PDF to Image

How to convert PDF to image using C#.NET
Convert PDF documents into images can be easily achieved if you use Yiigo.Image for .NET. We support over 100 image file formats, allowing developer convert PDF documents to, from those formats with great ease. Find more document & image conversion information on Yiigo.Imaging for .NET Conversion Support.
Yiigo.Image for .NET Conversion SDK has those following functionalities:
This document provides comprehensive Visual C#.NET samples for guiding developers to convert PDF to image using Yiigo.Image for .NET. Find more document & image conversion tutorials on Convert PDF to Image in VB.NET, Web Imaging Viewer PDF to Image Conversion Support and Convert PDF to Image in .NET Winforms.
Convert PDF to Image with C#.NET Sample Code


If you want to convert PDF document into image in Visual C#.NET, make sure that you have installed.
  • Operating systems - Windows 7, Windows Vista, and Windows XP, etc
  • Compatible with .NET framework 2.0 and above versions
  • Support Visual Studio 2005, 2010 and other .NET development environments
  • Yiigo.Image for .NET installation

Start to Convert

  • Open and run your Microsoft Visual Studio;
  • Choose either "Visual C# Projects" in "New Project" dialog box;
  • Choose "Windows Application" in the "Templates" List and name it "YiigoImagingeConversionCsharp";
  • Right-click on the "References" folder, and select "Add Reference..." from the context menu in the "Solution Explorer" window;
  • In the "Add Reference" dialog box, select the ".NET" tab and browse to Yiigo.Imaging.Net.dll library;
  • Add it to your Visual C# applications;
  • Call Yiigo .NET Image Namespace & Copy those following codes:
using System.IO;
using System.Drawing.Printing;
using Yiigo.Imaging;
using Yiigo.Imaging.Processing;
using Yiigo.Imaging.Conversion;

using YiigoImage Image = new YiigoImage();

// Convert image to PDF documents
public void ConversionImagetoPdf();
string PdfFileName = (@"C:\ yiigo_example.pdf");
int PdfPageNumber = "1";
ImageFormat ImageFormat = ImageFormat.jpg;
public void ConversionImagetoPdf(@"C:\ yiigo_example.pdf", "1", ImageFormat.jpg);
Image.Save(@"C:\ yiigo_example.jpg");

// Convert PDF documents to image
public void ConversionPdftoImage();
string ImageFileName = (@"C:\ yiigo_example.jpg");
ImageFormat ImageFormat = ImageFormat.pdf;
public Image ConversionPdftoImage(@"C:\ yiigo_example.jpg", ImageFormat.pdf);
Image.Save(@"C:\ yiigo_example.pdf");
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner