VB.NET PDF: How to HTML5 PDF Viewer PDF Create PDF Export File & Page Process PDF Read PDF Write Form Process Document Protect Annotation & Drawing PDF Print WPF PDF Viewer Work with Other SDKs Barcode Read Barcode Create OCR Twain
Convert PDF to JPEG
  |  
Home ›› XDoc.PDF ›› VB.NET PDF: PDF to JPEG

VB.NET PDF - Convert PDF to JPEG Using VB


Online VB.NET Tutorial for PDF to JPEG (JPG) Conversion in VB.NET Image Application




Best and free VB.NET PDF to jpeg converter SDK for Visual Studio .NET


.NET components to batch convert adobe PDF files to jpg image files


Able to Convert PDF to JPEG file in .NET WinForms and ASP.NET


Export high quality jpeg file from PDF in .NET framework


Support .NET WinForms, ASP.NET MVC in IIS, ASP.NET Ajax, Azure cloud service, DNN (DotNetNuke), SharePoint


Turn multiple pages PDF into multiple jpg files in VB.NET class


Support of converting from any single one PDF page and multiple pages


Change converted image size in Visual Basic program


Able to convert password protected PDF document


Source codes for quick integration in VB.NET class


Download free control and library for evaluation in VB.NET


Without using any other external software, our VB.NET PDF to JPEG converting component can help developers convert standard PDF file to high-quality JPEG image file independently. And converted JPEG image preserves all the content (including both images and texts) of original PDF document page.


Furthermore, if you are a Visual C# .NET programmer, you can go to this Visual C# tutorial for PDF to JPEG conversion in .NET project.




Convert PDF to JPEG Using VB.NET



Add necessary references:


  RasterEdge.Imaging.Basic.dll


  RasterEdge.Imaging.Basic.Codec.dll


  RasterEdge.Imaging.Drawing.dll


  RasterEdge.Imaging.Font.dll


  RasterEdge.Imaging.Processing.dll


  RasterEdge.XDoc.Raster.dll


  RasterEdge.XDoc.Raster.Core.dll


  RasterEdge.XDoc.PDF.dll


Use corresponding namespaces;


  using RasterEdge.Imaging.Basic;


  using RasterEdge.XDoc.PDF;


Copy demo code below to achieve fast conversion from PDF file to Jpeg image in VB.NET program.




' Load a PDF file.
Dim inputFilePath As String = Program.RootPath + "\\" + "1.pdf"
Dim doc As PDFDocument = New PDFDocument(inputFilePath)

' Get the first page of PDF file.
Dim page As PDFPage = doc.GetPage(0)

' Convert the first PDF page to a JPEG file.
page.ConvertToImage(ImageType.JPEG, Program.RootPath + "\\Output.jpg")