Home >
.NET Imaging SDK >
VB.NET >
Read and Write TIFF Tags
"This online guide content is
Out Dated!
Please get the latest
XDoc.Tiff C# Developer Guide here.
"
VB.NET TIFF Tag Viewer Control Overview
How to view and edit TIFF tags using VB.NET class application? TIFF tags of each page contain the information about data type, count, value and code.
c# split pdf,
c# itextsharp add text to pdf,
c# compress pdf size,
c# save tiff compression,
how to generate barcode in c#.net with example,
itextsharp add annotation to existing pdf c#.
Therefore, if you want to analyze or diagnose one TIFF file format, you must need a professional TIFF tag viewer and editor.
Related .net document control helps:
asp.net 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...
asp.net edit pdf page control:
ASP.NET PDF Pages Edit Control: add, remove, sort, replace PDF pages online using C#
asp.net mvc display tiff: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control
document viewer asp.net c#: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
asp.net document viewer example:
EdgeDoc:ASP.NET Document Viewer C# Control:
Open, view, annotate, redact, convert documents online in C#, VB.NET, AS...
asp.net pdf editor component: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
asp.net mvc pdf editor control: ASP.NET MVC PDF Viewer & Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC
This VB.NET TIFF tag viewer control SDK is such a mature and advanced .NET solution which is developed to help .NET programmers read, add and edit TIFF tags including known tags and private TIFF tags using VB.NET programming code.
how to delete a page from a pdf in c#,
vb.net itextsharp split pdf,
convert pdf to word using c#.net,
convert powerpoint to pdf c# interop,
get pdf page count c#,
vb.net code to convert excel to pdf,
c# save pdf.
Thus, this VB.NET TIFF tag editor control has been often used to tell why certain TIFF file can not be handled or processed.
To help you have a comprehensive and quick understanding of how this VB.NET TIFF tag viewer works to help programmers read & write TIFF tag (a permanent property of TIFF file which is used as a tool to save metadata information), we divide this online tutorial page into following several parts.
asp net display image from file path,
asp.net mvc generate pdf from view,
asp.net display word document in browser,
asp.net open excel file on client,
asp.net pdf reader,
how to write pdf file in asp.net c#,
asp.net pdf preview.
- Key features of this VB.NET TIFF tag reading & editing control add-on
- Overview of VB.NET TIFF tag viewer SDK dlls
- Sample VB.NET code to read & decode TIFF tag using this TIFF tag processor control
- VB.NET demo code to add & edit TIFF tag using this TIFF tag viewer SDK
VB.NET TIFF Tag Viewer Features
- Written in 100% managed C# code and compatible with a 32-bit or 64-bit .NET application
- Independent VB.NET TIFF tag viewing and editing solution that processes TIFF tag using VB.NET
- Robust and thread-safe VB.NET TIFF tag viewer control SDK that is suitable for .NET Framework 2.0 and above versions
- The VB.NET TIFF tag viewer APIs can be used to decode and redact existed TIFF tag information
VB.NET TIFF Tag Processor SDK DLLs
From this VB.NET TIFF tag processing SDK, you will find two dlls (RasterEdge.Imaging.Basic.dll and RasterEdge.Imaging.TIFF.dll). Both of those two TIFF tag editing dlls are contained in compact libraries under 1 MB. RasterEdge.Imaging.TIFF.dll contains all required APIs for developers to open, create, save and manipulate TIFF files. RasterEdge.Imaging.Basic.dll provides basic APIs for programmers to handle image related functions.
VB.NET Sample Code for TIFF Tag Reading
TIFF tags are existed as a way to contain the metadata of source TIFF file. Thus, if you want to know more details about the target TIFF file, you have to read and view the TIFF tags. Here we provide a demo VB.NET code which is used to help developers read & decode TIFF tag in .NET Framework applications.
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 tif file
Using tiff As Stream = New FileStream("file1.tif", FileMode.Open, FileAccess.Read, FileShare.Read)
doc.Read(tiff)
For Each image As TiffDirectory In file.Images
For Each tag As TiffTag In image.Tags
Console.WriteLine(tag.ToString())
Next
Next
End Using
End Sub
VB.NET Demo Code to Write TIFF Tag
Sometimes, users need to add or change the TIFF tag content of source TIFF file. In this section, we offer you a sample VB.NET programming example, which you can copy and use to add & edit TIFF tag in Microsoft .NET Framework application. For example, you can use the following VB.NET demo code to add some explaining information (such the color and size) to target TIFF file in the form of rewriting TIFF tag.
What should be noted here is that this VB.NET TIFF tag editor control also allows developers to load target TIFF file from local disks or web server.
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 tif file
file.Images(0).Tags.Add(New TiffTag(TiffTagID.ImageDescription, "Insert a private tiff tag", TiffTagDataType.Ascii))
file.Save("addtifftag.tif")
End Sub
Apart from this VB.NET TIFF tag viewer control add-on, RasterEdge VB.NET document image editor SDK also offers other mature and professional APIs for developers to view, annotate, process, open and save TIFF file format. Here we just randomly recommend some of those VB.NET TIFF manipulating controls, like
TIFF text extracting control to extract text from TIFF file using VB.NET code and
VB.NET TIFF watermarking add-on to add watermark to TIFF.
Recommend this to Google+