Guide for VB.NET
Core Document Formats
Additional Features

VB.NET TIFF - Split Multipage TIFF Using VB

VB.NET TIFF Page Processor SDK to Split TIFF File by Defining Page Range

Home > .NET Imaging SDK > VB.NET > Split TIFF

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

VB.NET Multi-page TIFF Splitting Application
Do you have the need to split a large-size & multi-page TIFF file into smaller TIFF documents? TIFF (short for Tagged image File Format) is a popular document image format which can encode multiple pages into one file. In the daily life, people may meet the situation to disassemble a multi-page TIFF file for better document distribution or management. Under this condition, an automatic and effective .NET multi-page TIFF splitting solution will be much helpful.
Related .net document control helps: pdf document viewer c#: ASP.NET PDF Document Viewer in C#: open, display, view, annotate, redact Adobe PDF files online in ASP.NET MVC & WebForm... edit pdf page control: ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C# mvc display tiff: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
document viewer c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer... document viewer example: EdgeDoc:ASP.NET Document Viewer C# Control: Open, view, annotate, redact, convert documents online in C#, VB.NET, AS... pdf editor component: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents mvc image viewer: ASP.NET Image Viewer Control(MVC & WebForms): view, annotate, redact, convert image files in html, JQuery
This VB.NET TIFF splitting control add-on can successfully split a multi-page TIFF document file in a programming way. Currently, RasterEdge VB.NET TIFF splitter SDK only supports splitting multi-page TIFF file by pages and it does not support other splitting methods, like splitting TIFF file by odd or even page. To put it in another way, using this VB.NET TIFF splitter control add-on, developers can specify a page range and then this TIFF splitting control will disassemble source TIFF document file by the defined page range.
Following is a quick navigation of this VB.NET multi-page TIFF document splitting online tutorial page.
  • Key benefits of this VB.NET multi-page TIFF file splitting library toolkit
  • Information on the VB.NET multi-page TIFF splitting library dlls
  • VB.NET multi-page TIFF splitting method for .NET Framework application
  • VB.NET programming example on how to split multi-page TIFF file by pages
Apart from splitting multi-page TIFF file in VB.NET class application, do you have the need to delete certain unnecessary TIFF pages? If yes, please try this VB.NET TIFF page deletion control. Besides, if you want to combine one of split TIFF files with another existed TIFF file, please try this VB.NET TIFF merging assembly add-on.
VB.NET TIFF Splitting Library Benefits
  • Able to split 500+ page TIFF file into individual one-page TIFF files using VB.NET code
  • Easy to disassemble multi-page TIFF file to several TIFF files based on a defined page range
  • Allow VB.NET developers to name the output split TIFF files with same name pattern
  • Able to perform further image processing functions within split TIFF files, like cropping and conversion
VB.NET Multi-page TIFF Splitting Library DLLs
There are two compact library dlls that will be used in the process of VB.NET multi-page TIFF splitting, which are RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.TIFF.dll. The former image library will help you manage & manipulate TIFF pages (like obtain all TIFF pages separately) using VB.NET code. And the later assembly will provide you the APIs that you can use to interpret and split TIFF file in VB.NET imaging application.
When you are using this VB.NET multi-page TIFF splitter SDK, please make sure you have installed the .NET Framework 2.0 (or 3.0, 3.5, 4.0, 4.5) and Microsoft Visual Studio 2005 (or VS 2008, VS 2010, VS 2012).
VB.NET Methods to Split Multi-page TIFF File
In this section, we list all the VB.NET methods that will be used for multi-page TIFF splitting application. Here we briefly talk about the multi-page TIFF splitting process: Open the source TIFF file with RasterEdge unique TIFF decoder API; then this VB.NET TIFF splitting control will split decoded TIFF file by every defined number of TIFF pages; finally RasterEdge VB.NET TIFF encoder will save split TIFF documents to new files.
Public Shared Function OpenDocumentFile(filePath As String) As REDocument
End Function
Public Shared Function OpenDocumentFile(filePath As String, dec As BaseDecoder) As REDocument
End Function
Public MustOverride Function SplitDocument(pageIndex As Integer) As List(Of BaseDocument)
VB.NET Sample Code to Split TIFF by Pages
The following VB.NET programming example is used to show developers how to split source multi-page TIFF file as desired. Developers can enter the page range value in this VB.NET command code "SplitDocument (page range value)". If you want to see a C#.NET programming demo code for multi-page TIFF splitting, please follow this link to C#.NET TIFF splitter control tutorial page.
Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports System.Windows.Forms
Imports RasterEdge.Imaging.TIFF
Imports RasterEdge.Imaging.Basic.Core
Imports RasterEdge.Imaging.Basic

Namespace WindowsApplication1
Public Partial Class Form1
Inherits Form
Public Sub New()
End Sub
Public Shared FolderName As String = "c:/"

Private Sub button1_Click(sender As Object, e As EventArgs)
Dim fileName As String = FolderName & "Sample.tif"

Dim doc As REDocument = REFile.OpenDocumentFile(fileName, New TIFDecoder())
'use TIFDecoder open a pdf file
Dim baseDocs As List(Of BaseDocument) = doc.SplitDocument(1)

Dim index As Integer = 0

For Each baseDoc As BaseDocument In baseDocs
' REImage reimage = (REImage)baseDoc.GetPage(0).ToImage();
index += 1

REFile.SaveDocumentFile(DirectCast(baseDoc, REDocument), "c:/reDoc" & index & ".tif", New TIFEncoder())
End Sub
End Class
End Namespace

Recommend this to Google+ 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-2017 Raster