Guide for VB.NET
Core Document Formats
Additional Features
PDF to Image

VB.NET Imaging - Convert PDF to Image Using VB

VB.NET Code for Converting PDF to Image within .NET Imaging Converting SDK

Home > .NET Imaging SDK > VB.NET > Convert PDF to Image

"This online guide content is Out Dated!
    Please get the latest XDoc.PDF C# Developer Guide here.

RasterEdge .NET Imaging PDF Converter makes it possible and easy for both professional programmers and non-professional end users to convert PDF and PDF/A documents to many image formats that are used commonly in daily life (like tiff, jpg, png, bitmap, jpeg, etc.) from any .NET application using VB class.
Related .net document control helps: edit pdf text using c#: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET annotate pdf using c#: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C# azure pdf editor using c#: ASP.NET Azure PDF Editor Control: view, edit, annotate, redact PDF files online
c# azure document viewer: ASP.NET Azure Document Viewer: view, annotate files online using ASP.NET Cloud Service convert pdf using c#: ASP.NET Convert PDF Control: Convert, export PDF to Word, HTML, Tiff files in C# ASP.NET
c# document annotation: ASP.NET Document Annotation Control: text comment, drawing on files online using ASP.NET component
c# tiff document viewer: ASP.NET Tiff Document Viewer: view, annotate Tiff files in HTML using C# Control
Following list is a quick navigation and access of this PDF to image converting toolkit tutorial in VB.NET Windows imaging application:
  • Overview on the benefits and technical details of VB.NET PDF to image converter library
  • Comprehensive PDF to image method and sample code that comply with complete VB programming language
  • More related PDF converting frequently asked questions in VB image project
If you are C# developers for PDF to image converting, please directly link here: C# Windows converting project to convert PDF to jpeg, png, tiff, etc.
Summary on PDF to Image Converting Benefits and Tech Details
  • Easy to be integrated in Windows desktop or web application with VB programming class
  • RasterEdge.Imaging.Basic.dll & RasterEdge.Imaging.PDF.dll are offered to convert PDF to image
  • Support converting scanned or not PDF and PDF/A files to images with VB sample code
  • Load and save customized PDF converting settings in high efficiency
  • Able to convert single PDF page to image format with a few lines of VB code
  • Capable of converting multiple PDF pages to images at a time with high quality
  • Convert PDF document to image file without recompression in VB project
  • Save the converted image with several storage options, like to memory, disk, etc.
Convert PDF to Image in VB Windows Project
This part can be divided into two parts: one is the example VB method for PDF to image converting; and the other one is the entire demo code to convert PDF to image in VB class. Please refer to the respective guide precisely.
And please note that, before you can use following solution and code, you need to download and install RasterEdge .NET Imaging SDK, and activate your granted developer license. If you're still confused, please contact our online technical adviser.

VB Image: Convert PDF to Image API Solution

Please refer to following complete document converting API solution to convert PDF to image in VB project. As you can see, users just need to adopt RasterEdge .NET document rendering and image converting method to convert any PDF source document to image file.
' Following APIs are designed to help users render PDF page to image collection
Private Function GetPage(pageIdx As Integer) As BasePage Implements PDFDocument.GetPage
End Function
Private Function toImage() As BaseImage Implements PDFPage.toImage
End Function
Private Function toImage(height As Integer, width As Integer) As BaseImage Implements PDFPage.toImage
End Function

' Use image saving API below to convert PDF to other image formats
Private Sub SaveImageFile(image As REImage, filePath As [String]) Implements REFile.SaveImageFile
End Sub

VB Image: Convert PDF to Image Example

Besides PDF document converting method, we also provide users with the detailed VB sample code to help users convert both single and multiple PDF files to images in an easy way.
The supported converting image files are jpeg, tiff, png, bmp and gif. You just need to change the output image format in VB programming code, like changing "tif" to "gif", and then you can get any wanted target image file. Additionally, using our .NET Imaging Converting SDK, users are also allowed to convert PDF to other daily used document files, like MS Word.
''' <summary>
''' To view, edit or save images of a pdf file, first generate REImage from a particular page of the document.
''' </summary>
''' <param name="doc"></param>
''' <returns></returns>
Public Function GetReImageForPDFDocument(doc As PDFDocument) As List(Of REImage)
Dim imageList As New List(Of REImage)()
For i As Integer = 0 To doc.GetPageCount() - 1
Dim tmpPage As PDFPage = DirectCast(doc.GetPage(i), PDFPage)

Dim tmpImage As REImage = DirectCast(tmpPage.ToImage(), REImage)


Return imageList
End Function

''' <summary>
''' You can transform REImage to TIFF image with following sample code
''' <param name="doc"></param>
Public Sub ConvertPDFToTIFF(doc As PDFDocument)
Dim imageList As List(Of REImage) = GetReImageForPDFDocument(doc)
Dim imgCount As Integer = 1

For Each img As REImage In imageList
REFile.SaveImageFile(img, "C:" & imgCount & ".tif", New TIFEncoder())
imgCount += 1
End Sub
More Related PDF Converting FAQs in VB Program
Q 1: Can I convert scanned PDF documents to image files by using RasterEdge .NET PDF to image converting library in VB project?
A 1: Yes, our PDF to image converter control in VB class supports converting both original and scanned PDF documents to image files.
Q 2: Is it possible for me to use your PDF to image converting API to convert image to PDF document in vice versa? And how?
A 2: Sorry, RatsterEdge VB.NET Imaging Converting SDK isn't available on converting image to pdf document at present.
More Tutorials!
You may see more Visual Basic guide for Using .NET Image SDK!

Recommend this to Google+ is professional provider of document, content and imaging solutions, available for ASP.NET AJAX, Silverlight, Windows Forms as well as WPF. We are dedicated to provide powerful & profession imaging controls, PDF document, image to pdf files and components for capturing, viewing, processing, converting, compressing and stroing images, documents and more.

©2000-2017 Raster