PDF Tiff Converter VB.NET Library
How to convert multipage tiff image to PDF in vb.net Windows Forms application
Online VB.NET Tutorial for Converting Tiff Image to PDF Document in VB.NET Project
In this vb.net tutorial, you will learn how to convert multipage Tiff image to PDF file using VB.NET code in .NET Windows Forms application.
- Convert multipage Tiff to multipage PDF file
- Convert PDF through byte array, or Stream objects
- Easy to develop in Windows Forms, WPF applications, ASP.NET using VB.NET
How to convert multipage Tiff to PDF file using Visual Basic .NET
- Best tiff to adobe PDF converter SDK for VB .NET
- .NET component for batch converting tiff images to PDF documents in Visual Studio .NET
- High quality PDF files are created from tiff in .NET WinForms application
- Support .NET WinForms, ASP.NET MVC in IIS, ASP.NET Ajax, Azure cloud service, DNN (DotNetNuke), SharePoint
-
convert pdf to tiff using c#,
asp.net c# pdf to image,
c# convert word to pdf,
convert gif to pdf c#,
c# pdf to text conversion,
convert pdf to svg c#,
c# pdf converter.
- Turning tiff into searchable PDF or scanned PDF in Visual Basic .NET class
- Convert tiff to PDF document in ASP.NET webpage free online
-
asp.net pdf writer,
asp.net tif viewer,
asp.net view excel in browser,
pdf viewer in asp.net using c#,
asp.net mvc open word document in browser,
asp.net preview pdf,
mvc display pdf in browser.
- Source codes are provided to use in VB.NET class
- Free library and components for downloading and using in .NET framework
Except PDF to Tiff conversion, RasterEdge SDK has related Tiff to PDF converting control, which supports conversion from Tiff image to PDF document in VB.NET program. This page will guide you with VB.NET sample code to finish Tiff to PDF conversion work. Tiff image with single page or multiple pages is supported.
Furthermore, if your application is C# based, you can go to this page for more information
How to convert Tiff to PDF using C#
How to convert multipage Tiff to PDF using VB.NET
The following steps and VB source code explain how to convert multipage Tiff file to PDF document using Visual Basic .NET Code.
- Create a new ImageOutputOption object.
- Set ImageOutputOption Color, Compression, Resolution properties
- Create a new PDFDocument object from an existing PDF file
- Convert multipage Tiff to PDF file with conversion options applied
Dim inputFilePath As String = "C:\1.pdf"
Dim outputFilePath As String = "C:\output.tif"
Dim options As ImageOutputOption = New ImageOutputOption()
' Output image Is color.
options.Color = ColorType.Color
' Use LZW compression in TIFF file.
options.Compression = ImageCompress.LZW
' Set resolution to 300 dpi for each page.
options.Resolution = 300
' Open file
Dim doc As PDFDocument = New PDFDocument(inputFilePath)
' Convert whole document to TIFF file
doc.ConvertToDocument(DocumentType.TIFF, outputFilePath, options)
How to convert multiple Tiff images to PDF files using VB.NET
The following VB source code explain how to convert all tiff files under one directory to pdf files using vb.net.
Dim inputDirectory As String = "C:\input\"
Dim outputDirectory As String = "C:\Output\"
Dim files() As String = Directory.GetFiles(inputDirectory, "*.tif")
' convert tiff document to pdf one by one.
For Each filePath As String In files
Dim doc As TIFFDocument = New TIFFDocument(filePath)
Dim startIdx As Integer = filePath.LastIndexOf("\")
Dim endIdx As Integer = filePath.LastIndexOf(".")
Dim docName As String = filePath.SubString(startIdx + 1, endIdx - startIdx - 1)
' Convert it to PDF document.
doc.ConvertToDocument(DocumentType.PDF, outputDirectory + docName + ".pdf")
Next