Guide for C#
Core Document Formats
Additional Features
Hotspot Annotation

C# Imaging - Hotspot Annotation in C#.NET

Generate and Customize Hotspot Image Annotation in C#.NET

Visual C#
Home > .NET Imaging SDK > C# > Hotspot Annotating
If this is your first time to use our DocImageSDK, we strongly suggest you reading How to Start first!

C# Hotspot Annotation Creating Overview
RasterEdge .NET imaging SDKs offer C#.NET developers a variety of image and document page annotation options that can be added to your C#.NET applications that utilize bitonal, grayscale and color images. convert pdf to word c#, c# imagemagick pdf to tiff, tesseract ocr pdf c#, c# bitmap save tiff compression, how to read pdf file in c#, c# load tiff to bitmap. This page is designed to offer hotspot image annotation controls to developers and end users that can be used to add color and multimedia image hotspot markups to black and white images in C# project. And you can find complete C# image annotations in the page of C# imaging - multi-type annotations on images.
Related .net document control helps: pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET dicom web viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET excel view: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser. view text file: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET office document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents annotate pdf control: ASP.NET Annotate PDF Control: annotate, comment, markup PDF document online using ASP.NET C#
Outline of this image hotspot annotation function in C# platform:
  • Image and document page hotspot annotating benefits and technologies in C# project
  • How to run image hotspot annotation application in C# Windows project
  • Full developed methods in C# for users to program and define your own hotspot annotation
  • Entire demo code to create image hotspot annotation in your C# image project
add password to pdf c#, pdf open password protected, split pdf using c#, pdf reader, convert image to pdf pdfsharp c#, pdf to word c# open source, add watermark to pdf
Hotspot Annotation Function Features & Technique in C#
  • Support programming C# image annotation functions in Visual 2005 or all the later versions
  • Custom annotations support allowing developers to define your image annotation types in complete C# class
  • Load image files that will be annotated within a short time
  • Add hotspot annotation to single or multiple image pages in C# developing environment
  • Resize hotspot annotation to the most appropriate width and height with C# image resizing solution pdf preview, display tiff images, add text to pdf field, pdf viewer control, show image in core, pdf viewer in mvc c#, how to edit pdf file in c#.
  • Full color and shape font style support for customizing hotspot annotation object
  • Set edge property easily whenever image hotspot annotation is active or not
  • Protect sensitive information with powerful redaction and encryption annotation objects in C# program
  • Store hotspot annotation as metadata of document, image file, separate annotation file, database, etc.
  • Save hotspot annotation to 30+ image formats, like GIF, JPEG, JBIG, BMP and PNG
How to Run Hotspot Annotation Project in C#.NET
Please follow guide tips below to create an accurate Windows developing project in C# class for image hotspot annotation, and then implement all the relative .NET imaging DLLs to the C# application.
  1. Firstly, please start your Microsoft Visual Studio 2005, 2008 or 2010;
  2. Secondly, you need to create a Windows project in Visual C# language;
  3. And then, implement all the necessary .NET imaging DLLs into your Visual C# application via adding reference operation;
    • RasterEdge .Imaging.Basic.dll
    • RasterEdge .Imaging.Annotation.dll
  4. Finally, run following image processing and annotating using statements:
For VB.NET programmers and end users, please go to annotate image and document page in VB.NET project.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using RasterEdge.Imaging.Annotation;
using System.Diagnostics;
using RasterEdge.Imaging.Annotation.Basic
Method on Image Hotspot Annotation in C#.NET
Using following image annotating API solutions in C#, users are able to define your hotspot annotation properties, like locating hotspot annotation object on any area of the image, adjusting filled hotspot shape color and font, activating variable annotating brush tools, and more.
public static HotSpotAnnotation CreateHotSpotAnnotation(float x, float y, float w, 
float h, AnnotationPen activeOutline, AnnotationBrush activeFill, AnnotationPen outline, AnnotationBrush fill);
public static HotSpotFreeHandAnnotation CreateHotSpotFreeHandAnnotation(LinePoint[] points, AnnotationPen
activeOutline, AnnotationBrush activeFill, AnnotationPen outline, AnnotationBrush fill);
Sample Code to Create Image Hotspot Annotation in C#.NET
Our C# imaging annotating SDK enables users to add document image hotspot annotation function to single and multi-threaded C# applications. And following entire and flexible C# sample code is prepared for users to implement hotspot annotation to you projects more easily.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using RasterEdge.Imaging.Annotation;
using System.Diagnostics;
using RasterEdge.Imaging.Annotation.Basic;

namespace RasterEdge.Imaging.Demo.Annotation
public class HotSpotAnnotationDemo
* SDK Dependency:
* RasterEdge.Imaging.Annotation.dll

public static void Test()
HotSpotAnnotation obj = new HotSpotAnnotation();
// set annotation size
obj.X = 45.0F;
obj.Y = 57.0F;
obj.Width = 40.0F;
obj.Height = 60.0F;

//set filled shape property
obj.Fill = new AnnotationBrush();
obj.Fill.FillType = RasterEdge.Imaging.Annotation.FillType.Solid;//set filled shape style
obj.Fill.Solid_Color = Color.Gray;//set filled shape color

//set annotation edge property
obj.OutLine = new AnnotationPen();
obj.OutLine.Width = 2.0F;//set annotation edge width
obj.OutLine.Brush = new AnnotationBrush();
obj.OutLine.Brush.FillType = RasterEdge.Imaging.Annotation.FillType.Solid;//set annotation edge style
obj.OutLine.Brush.Solid_Color = Color.Blue;//set annotation edge color

//set filled shape property when annotation is active
obj.ActiveFill = new AnnotationBrush();
obj.ActiveFill.FillType = RasterEdge.Imaging.Annotation.FillType.Solid;//set filled shape style
obj.ActiveFill.Solid_Color = Color.Gray;//set filled shape color

//set edge property when annotation is active
obj.ActiveOutLine = new AnnotationPen();
obj.ActiveOutLine.Width = 2.0F;//set edge width
obj.ActiveOutLine.Brush = new AnnotationBrush();
obj.ActiveOutLine.Brush.FillType = RasterEdge.Imaging.Annotation.FillType.Solid;//set edge style
obj.ActiveOutLine.Brush.Solid_Color = Color.Blue;//set edge color

string folderName = "C:/";
obj.Active = false;
Bitmap img = obj.CreateAnnotation();
img.Save(folderName + "HotSpotAnnotationInactive.png");
obj.Active = true;
img = obj.CreateAnnotation();
img.Save(folderName + "HotSpotAnnotationActive.png");
catch (Exception ex)
This comprehensive and easy-to-use C#.NET Imaging Annotating SDK is extended to both the developers and the end-users. Customers have great abilities to add and draw full featured and dynamic annotation markup to image or document page. Specific features include the universal annotation for all document and image formats (annotating image formats in C#: JPEG, PNG, GIF, BMP and TIFF), mouse event handling, convenient toolbars, wide variety of annotation shapes (text, freehand line , ellipse, callout, rubber stamps, line, rectangle, polygon, hotspot, etc.), annotation data search and extraction, object-oriented storage, and even more.

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-2024 Raster