Visual C#.NET - Image Callout Annotation

Tutorial on How to Add Image/Document Callout Annotation in C#.NET Projects
Yiigo.Image for .NET SDK library is a powerful toolkit which allows you to easily add image annotation capability to your .NET/ Web applications. With this functionality, users can freely mark up or draw various objects /shapes onto an image or documentation, such as Jpeg, Jpg, Png, Gif, Tiff, Excel, Word, PPT, PDF and many more file formats.
The annotation component of the imaging SDK provides users with a variety of annotation objects, including callout, ellipse, hotspot, freehand, rectangle, and so on. Users can add them on image, resize, move and rotate them as you like. This article will focus on one object - annotation callout, and demonstrate how to add callout annotation on your image document in a Visual C# project.
C# Guide - How to Add Callout Annotation on Image

C# Image Callout Annotationn - Preparation

  • Download Yiigo.Image for .NET: Get this imaging SDK by clicking on the download trial button online, or directly downloading the product form the order email.
  • Install Yiigo.Image for .NET: Run the exe file in the unzipped download package for a setup.
  • Activate Yiigo.Image for .NET Eval License: When installation is done, you need to type in your purchased serial number. If you do not have one, request an evaluation license and then activate it.

C# Image Callout Annotation - Start Now

  • If you have installed MS Visual Studio 2005 or above / VS Express, start it and open your C#.NET imaging project.
  • Add the Yiigo.DotAnnotate.dll and Yiigo.DotImage.Annotate.dll your project reference.
  • Enable the namespace in your project, and then you can use the following sample Visual C# code to add callout annotation on your project image.
  • Now you can customize the callout annotation if necessary, such as resizing, rotation, etc.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using Yiigo.DotImage.Annotation;

CalloutAnnotation myAnnotation = new CalloutAnnotation();
myAnnotation.Text = "Callout Annotations";
myAnnotation.Fill = new AnnotationBrush(Color.Black);
myAnnotation.Shadow = new AnnotationBrush(Color.Blue);
myAnnotation.ShadowOffset = new PointF(4, 4);
myAnnotation.Location = new PointF(100, 100);
myAnnotation.Size = new SizeF(100, 200);
annotationController1.CurrentLayer.Items.Add(myAnnotation);

C# Image Callout Annotation - Sample Image

c# callout annotation
Find More C# Image Annotations Guide
Products
Other Plugins
Image Viewer CoreBarcode PluginPDF Read & WriteTesseract OCR PluginForm Processing PluginJBIG2 CodecJPEG2000 CodecISIS ScannerTwain ScannerDICOM ReaderCAD Scanner