Visual C#.NET: Convert PDF to Jpeg

How to convert PDF to Jpeg using C#.NET
Do you want to convert a PDF document file to a JPEG image file? Here is a way - Yiigo.Image for .NET, with which you may easily convert PDFs to JPEGs according to your needs. Find more PDF conversion information on Yiigo.Imaging for .NET PDF Plugin.
Yiigo.Image for .NET PDF Plugin has those following functionalities:
This document provides comprehensive Visual C#.NET samples for guiding developers to convert PDF to Jpeg using Yiigo.Image for .NET. Find more PDF conversion tutorials on VB.NET PDF Conversion to Jpeg, Web Imaging Viewer PDF to Jpeg Conversion Support and Convert PDF to Jpeg in .NET Winforms.
PDF Converting to Jpeg with C#.NET Sample Code


If you want to convert PDF documents to Jpeg images in Visual C#.NET, make sure that you have installed.

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 "YiigoImagingPdfConvertJpegCsharp";
  • 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 and Yiigo.Imaging.Net.Pdf.Read.dll;
  • 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 Jpeg to PDF documents
public void ConversionJpegtoPdf();
string JpegFileName = (@"C:\ yiigo_example.jpg");
ImageFormat ImageFormat = ImageFormat.pdf;
public Image ConversionPdftoJpeg(@"C:\ yiigo_example.jpg", ImageFormat.pdf);
doc.Save(@"C:\ yiigo_example.pdf");

// Convert PDF documents to Jpeg
public Image ConversionPdftoJpeg();
string PdfFileName = (@"C:\ yiigo_example.pdf");
int PdfPageNumber = "1";
ImageFormat ImageFormat = ImageFormat.jpg;
public void ConversionJpegtoPdf(@"C:\ yiigo_example.pdf", "1", ImageFormat.jpg);
doc.Save(@"C:\ yiigo_example.jpg");
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner