VB.NET: Online Guide
Convert PDF to Tiff
Convert PDF to Tiff
Home ›› XDoc.PDF ›› VB.NET PDF: PDF to Tiff

VB.NET PDF - Convert PDF to TIFF Using VB

Free VB.NET Guide to Render and Convert PDF Document to TIFF

PDF to Tiff Conversion Overview

Best adobe PDF to tiff converter SDK for Visual Studio .NET

.NET control to batch convert PDF documents to tiff format

Qualified tiff files are exported with high resolution

Create multipage tiff image files from PDF

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

Tiff compression selection

Resize converted tiff image

Convert PDF file to tiff and jpeg online

Online source code for VB.NET class

Free components and library for downloading and using in .NET framework

When converting PDF document to TIFF image using VB.NET program, do you know about TIFF image format? Originally, TIFF stands for Tagged Image File Format which can be compressed and uncompressed by using lossless compression. TIFF image is regarded as the best image format for commercial work and is a standard in the printing and publishing industry. It is also a flexible raster image format for handling images and data within a single file and multiple layered images can be stored in a single TIFF file.

RasterEdge.Imaging.PDF.dll offers complete APIs for developers to view, compress, annotate, process and convert PDF document file in Visual Basic .NET class application. Similarly, RasterEdge.Imaging.TIFF.dll can be used for advanced TIFF file reading, annotation, conversion and editing applications. Using our VB.NET PDF Document Conversion Library, developers can easily convert PDF document to TIFF image file in VB.NET programming. We provide free VB demo code to guide you how to do this work.

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

VB.NET PDF Converting DLLs for PDF-to-Tiff

To complete high-quality PDF to TIFF conversion in VB.NET class application, three compact dlls will be involved, which are:




RasterEdge.Imaging.Basic.dll is one of the core dlls in RasterEdge .NET Image SDK and all other RasterEdge document image processing dlls must rely on this core assembly for further document and image processing.

APIs for Converting PDF to TIFF in VB.NET

To complete the conversion between PDF document and TIFF image file in VB.NET application by using our PDF Document Conversion Library for VB.NET, there are two steps. One is to render PDF document to image and the other is to convert and save rendered image to TIFF image format. The following APIs are designed to complete PDF to TIFF conversion through VB.NET programming step by step.

'' 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 Bitmap, filePath As [String]) Implements REFile.SaveImageFile

End Sub

There are two main classes used in the above APIs to convert PDF document to TIFF image in VB.NET: PDFDocument and PDFPage. PDFDocument is a programmatic abstraction of PDF document, containing all document information (such as pages in the document). It is derived from super class REDocument. PDFPage is an abstraction of PDF document page contained in the PDFDocument. Specific PDF document page can be converted to TIFF image in VB.NET class.

Demo Code to Convert PDF to Tiff Using VB.NET

RasterEdge provides developers with detailed VB.NET demo code to render and convert PDF document to TIFF raster image in VB.NET project. The following demo code can be applied to your VB.NET project built in Visual Studio 2005 or later versions free of charge.

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

' Convert and output to a TIFF file.
Dim outputFilePath1 As String = inputFilePath + ".tif"
doc.ConvertToDocument(DocumentType.TIFF, outputFilePath1)