How to C#: Tiff
Using Tiff SDK for C#.NET
Tiff Annotation
Home ›› XDoc.Tiff ›› C# Tiff: Annotate Tiff

C# TIFF - TIFF Annotation in C#.NET

How to Create & Add Annotations to TIFF File Using C#.NET Code

C#.NET Annotation on TIFF Image Overview

To help you add some comments, provide some additional information or draw certain markup on source Tiff file, we design a C#.NET Tiff reading & annotating control DLL, RasterEdge.XDoc.Tiff.dll. This C#.NET Tiff annotation control is able to add and modify Tiff document annotations in an extremely easy way. The main supported Tiff annotation types include line, lines, free hand, rectangle, text, arrow, ellipse, highlight, polygon, hotspot, rubber stamp, callout, and embedded image.

Related .net document control helps: edit pdf text using c#: ASP.NET PDF Text Edit Control: online edit PDF text content using C# ASP.NET
c# image viewer: ASP.NET Image Document Viewer Control: view, annotate, redact, convert image files in html web browser
c# pdf document viewer: ASP.NET PDF Document Viewer in C#: view, annotate, redact Adobe PDF files online in ASP.NET mvc pdf editor using c#: ASP.NET MVC PDF Editor: view, annotate, redact, edit PDF document in C# ASP.NET MVC pdf file permission using c#: ASP.NET PDF File Permission Control: apply, remove PDF file permission settings in C#
c# webforms document viewer: ASP.NET WebForms application document viewer control: view, annotate, redact, convert files online in ASP.NET pdf viewer using c#: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET

C#.NET TIFF Annotating SDK Features

Professional C#.NET Tiff annotating solution that is compatible with .NET Framework 2.0 and later versions

Support adding over 10 annotation types to source Tiff image file using C#.NET code

Created C#.NET annotations can be burnt on the desired location of Tiff image file

Properties of Tiff annotation can be easily customized using C# code, like size and color

The annotation that is created on Tiff image file can be processed as an independent image object

Different annotations can be added to one Tiff page in C#.NET imaging application

C#: DLLs for TIFF Annoation

Add references;










Use corresponding namespaces;

  using RasterEdge.Imaging.Basic;

  using RasterEdge.Imaging.Annotation;

  using RasterEdge.XDoc.TIFF;

Note: When you get the error "Could not load file or assembly 'RasterEdge.Imaging.Basic' or any other assembly or one of its dependencies. An attempt to load a program with an incorrect format", please check your configure as follows:

If you are using x64 libraries/dlls, Right click the project -> Properties -> Build -> Platform target: x64.

If using x86, the platform target should be x86.

Use C#.NET Code to Create & Burn Annotations on TIFF

RasterEdge C#.NET Tiff Imaging Annotator Control supports annotating source Tiff page with over 10 commonly used annotation types, including both graphics and text. In order to help you have a better grasp of how to use RasterEdge C#.NET Tiff annotating control, we here specifically provide you with C#.NET demo code for adding and burning a text annotation object on the first page of Tiff image file.

//open a TIFF file
TIFFDocument tifDoc = new TIFFDocument(@"F:\input.tif");
TIFFPage page = (TIFFPage)tifDoc.GetPage(0);
//create a text annotation
TextAnnotation annotation = AnnotationGenerator.CreateTextAnnotation(10, 100F, 200F, 100F, "", new System.Drawing.Font("Arial", 12F));
//add it on the page

public override void AddAnnotation(AnnotationHandler annoHandler)

Add annotation on the page.

public void AddAnnotation(AnnotationHandler annoHandler, float zoomValue)

Add annotation on the page.

public override void AddImage(BaseImage image, PointF point)

Add an image on the page with specified location.