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

VB.NET
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. open pdf and draw c#, itextsharp add image to pdf vb.net, pdf compress in c#, pdf watermark c#, tesseract ocr pdf c#, convert tiff to bitmap c#.
Related .net document control helps:
asp.net image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
asp.net word viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
asp.net pdf viewer: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net pdf document viewer: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm...
asp.net tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
asp.net annotate pdf: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
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 text to pdf c#, remove pdf password c#, pdf compression library c#, how to merge multiple pdf files into one in c#, c# pdf highlight text, vb.net pdf create thumbnail background color, c# pdf add background.
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)

imageList.Add(tmpImage)
Next

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
Next
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+


RasterEdge.com is professional provider of ASP.NET MVC Document Viewer, ASP.NET PDF Viewer, MVC PDF Viewer 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-2023 Raster Edge.com