Home >
.NET Imaging SDK >
VB.NET >
Modify Document Page
"This online guide content is
Out Dated!
Please get the latest
XDoc.Tiff C# Developer Guide here.
"
Are you always in a mess when you are facing a complicated TIFF document processing and manipulating application within VB.NET application because you don't know how to get it worked?
extract text from pdf itextsharp c#,
libtiff c#,
pdf editor in c#,
c# barcode generator wpf,
c# change text in pdf,
convert tiff to pdf c# itextsharp.
Or did you happen to get into following difficulty in dealing with TIFF document pages?
Related .net document control helps:
asp.net mvc pdf editor: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
asp.net excel viewer: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net powerpoint viewer: ASP.NET PowerPoint Document Viewer Control (MVC & WebForms): view ppt, pptx files online in C# using ASP.NET
asp.net pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net edit pdf text:
ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
asp.net dicom document viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net text file viewer: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
- How to properly add and insert single or multiple new TIFF pages to the original TIFF document?
- How to remove and delete certain TIFF page from current TIFF document in VB.NET class?
- How to precisely and efficiently reorder and rearrange current TIFF document pages according to specific needs?
Well, now you can get the comprehensive answers and explanations for these TIFF pages handling questions within this TIFF file pages modifying VB tutorial.
vb.net pdf editor,
pdf compression library c#,
c# pdf remove page,
c# create pdf preview,
c# convert pdf to jpg,
c# pdf report generator,
convert pdf to bitmap vb.net.
High-performance TIFF Pages Modifying Project in VB.NET
VB.NET TIFF Pages Modifier of RasterEdge .NET TIFF Document Processing SDK consists of three main TIFF pages editing and modifying applications, namely, new blank TIFF page adding & inserting, deleting & removing needless TIFF page and sorting & reordering TIFF pages in inverted or arbitrary range.
asp net replace text from pdf javascript,
how to edit pdf file in asp.net c#,
asp.net pdf viewer free,
pdf preview in asp.net c#,
asp.net open excel file in browser,
asp.net mvc pdf viewer control,
asp.net display image from memorystream.
Besides its reliable core TIFF pages handling capabilities, this VB.NET TIFF pages editing control also shows its great flexibility on operating platforms. It can be seamlessly integrated within any VB.NET Windows Forms or web application on all Windows document processing systems. Furthermore, MS .NET Framework 2.0 or later versions are perfectly compatible.
Apart from TIFF pages modifying toolkit, there are far more TIFF document processing and editing functions, you can link to
VB.NET TIFF file processing component to see more.
How to Add and Insert New Page to TIFF Document
As one of the elementary functions of TIFF pages modifying project in VB.NET class, TIFF page adding and inserting toolkit shows users its huge capabilities on creating TIFF page using an image source and inserting the new blank TIFF page to original TIFF document with just a couple of VB.NET codes. Please refer to following respective TIFF page adding & inserting sample APIs and VB.NET code.
Reliable TIFF Page Adding & Inserting APIs in VB.NET
Beneath these descriptions are the TIFF page adding and inserting demo APIs and methods. And here are two notes for applying them accurately in VB.NET programming:
- First, with TIFF page adding method "AddPage", users are supposed to add a new page to the TIFF document pages collection at the end with no user-defining option
- Second, as to TIFF page inserting API and method "InsertPage", users have quiet great freedom to decide to insert new TIFF page at any specified location
Private Sub AddPage(page As BasePage) Implements TIFFDocument.AddPage
End Sub
Private Sub InsertPage(page As BasePage, pageIdx As Integer) Implements TIFFDocument.InsertPage
End Sub
Complete VB Demo Code on TIFF Page Adding & Inserting
''' First, you can create a TIFFPage using an image file and then add it to TIFFDocument
''' </summary>
''' <returns></returns>
Public Function CreateTIFFPage(filePath As [String]) As TIFFPage
' suppose the image file is of the format png
Dim img As New REImage(filePath, ImageFormat.Png)
Dim page As New TIFFPage(img)
Return page
End Function
''' <summary>
''' Insert page to TIFF documnet
''' </summary>
''' <param name="doc"></param>
''' <param name="page"></param>
''' <param name="idx"></param>
Public Sub InsertPageToTIFFDocument(doc As TIFFDocument, page As TIFFPage, idx As Integer)
doc.InsertPage(page, idx)
End Sub
''' <summary>
''' Create an empty TIFF page and insert it to an exsisting TIFFDocument
''' </summary>
''' <param name="doc"></param>
''' <param name="idx"></param>
Public Sub CreateAndInsertEmptyPage(doc As TIFFDocument, idx As Integer)
Dim page As TIFFPage = DirectCast(doc.CreateEmptyPage(), TIFFPage)
doc.InsertPage(page, idx)
End Sub
How to Delete Certain TIFF Page with VB.NET TIFF Pages Modifier
Opposite to page adding & inserting in VB.NET, sometimes, we need to clear and remove the useless and unnecessary TIFF page when we are arranging TIFF document for better viewing or printing. So, what can we do to achieve TIFF page deletion? Please check following TIFF page deleting methods and sample codes in VB.NET to enlighten you!
Detailed Methods of TIFF Page Deletion
Private Sub DeletePage(pageIdx As Integer) Implements TIFFDocument.DeletePage
End Sub
' Or you can update one of the TIFFPage in the TIFFDocument
Private Sub UpdatePage(page As BasePage, pageIdx As Integer) Implements TIFFDocument.UpdatePage
End Sub
APIs and methods instructions:
- DeletePage: can be called and written for removing and clearing single needless TIFF page in VB.NET programming, and if it is necessary for you to delete multiple TIFF pages with this API, then you can program a cyclic project to reach the goal
- UpdatePage: managed to update one of the TIFFPage in the TIFFDocument
Use Sample VB Sample Code to Delete TIFF Page
''' </summary>
''' <param name="filePath"></param>
''' <param name="pageIndx"></param>
Public Sub DeletePage(filePath As [String], pageIndx As Integer)
Dim doc As TIFFDocument = DirectCast(REFile.OpenDocumentFile(filePath, New TIFDecoder()), TIFFDocument)
doc.DeletePage(pageIndx)
End Sub
How to Sort and Reorder TIFF Pages in Simplest Procedures
After you have added, inserted or deleted defined VB.NET TIFF document page, there may be a mess on TIFF pages order. And what will you do if you want to change or rearrange current TIFF pages? This TIFF pages sorting application will be your best choice for its easy-to-use APIs and free sample code.
TIFF Pages Sorting APIs in VB.NET Project
Private Sub SortPage(pageOrder As List(Of Integer)) Implements TIFFDocument.SortPage
End Sub
Note: method "SortPage" here can be applied to any .NET platform, such as VB.NET, C#.NET, ASP.NET or .NET WinForms. Users can use it to reorder TIFF pages in inverter order or random range.
See Following TIFF Pages Sorting VB Demo Code
''' <summary>
''' Sort TIFF document pages in designed order
''' </summary>
''' <param name="doc"></param>
''' <param name="pageIdxes"></param>
Public Sub sortDocument(doc As TIFFDocument, pageIdxes As List(Of Integer))
doc.SortPage(pageIdxes)
End Sub
Recommend this to Google+