Guide for VB.NET
Core Document Formats
Additional Features
Callout Annotation

VB.NET Imaging - Add Callout Annotation Using VB

How to Create Callout Annotation on Doc and Image Using VB.NET Code

Home > .NET Imaging SDK > VB.NET > Callout Annotating
To get started with DocImage SDK for .NET, you are supposed to read VB.NET Imaging: Get Started first!

Our VB.NET image annotation control supports adding callout annotation to images and documents. An annotation is metadata (e.g. comment, explanation and presentational markup) attached to text, image or other data. Annotations are often used through document viewer or image viewer in electronic products. In addition to callout annotation, there are many other annotation types supported by this VB.NET image annotation. Here is a list of them.
Related .net document control helps:
c# tiff viewer: ASP.NET Tiff Viewer: view, annotate multipage Tiff images in ASP.NET MVC, WebForms using C# Control 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...
c# mvc document viewer: ASP.NET MVC Document Viewer: view, annotate, redact files on ASP.NET MVC web projects
c# mvc document viewer: ASP.NET Document Viewer using C#: Open, View, Annotate, Redact, Convert document files in ASP.NET using C#, HTML5, JQuer...
c# word document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
c# pdf editor: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents edit pdf image using c#: ASP.NET PDF Image Edit Control: online insert, edit PDF images in C#
With this VB.NET image annotation library, users are able to add callout and other annotations on multiple document and image formats, such as PDF, Word, TIFF, GIF, JPEG, BMP and so on. We provide corresponding guides for creating annotations on these documents and images. If you want to add annotations on any of these documents and images in VB.NET applications, you may go to relevant guide page.
VB.NET Callout Annotation Control Features
Here is a list of main features of our VB.NET image and document callout annotation control.
  • Mature & fully-functional VB.NET callout annotation creation SDK
  • Allow VB.NET developers to encode editable text into the callout annotation
  • Capable of setting the edge style of created callout annotation using VB.NET
  • Able to design & adjust the leader line style independently in VB.NET class
  • Flexible to change the filled color of generated callout annotation using VB.NET
  • Support easily moving or resizing generated callout annotation using VB.NET code
  • Allow developers to place callout annotation on layers in VB.NET application
  • Able to burn callout annotation onto image or document with our web viewer in VB
Create Callout Annotation in VB.NET
A tutorial for creating callout annotation on images and documents in VB.NET application will be demonstrated in this part. Using callout annotation, you can add additional information on a specific area of an image or document. The callout annotation mainly contains two parts-that are editable text area and a leader line which is used to point the target image or document area.
Users are able to download our VB.NET callout annotation control trial package freely. Before using it, users need to install .NET Framework 2.0 or later versions and Microsoft Visual Studio 2005 or above to create a program for callout annotation creation using VB language. Then, RasterEdge .Imaging.Basic.dll and RasterEdge .Imaging.Annotation.dll should be located to your program references.
Now, you can use the following comprehensive VB.NET demo code to directly create callout annotation.
     Imports System.Collections.Generic
Imports System.ComponentModel
Imports System.Data
Imports System.Drawing
Imports System.Text
Imports RasterEdge.Imaging.Annotation
Imports System.Diagnostics
Imports RasterEdge.Imaging.Annotation.Basic

Namespace RasterEdge.Imaging.Demo.Annotation
Public Class CalloutAnnotationDemo
' *
' *
' * SDK Dependency:
' * RasterEdge.Imaging.Annotation.dll
' *
' *
Public Shared Sub Test()
Dim obj As New CalloutAnnotation()

obj.Text = "This is a Callout annotation"
'set the displayig text
obj.TextFont = New Font("Arial", 12F, FontStyle.Italic)
'set text font
'set filled font property
obj.FontBrush = New AnnotationBrush()
obj.FontBrush.FillType = RasterEdge.Imaging.Annotation.FillType.Solid
'set filled font style
obj.FontBrush.Solid_Color = Color.Blue
'set filled font color
' set annotation size
obj.X = 60F
obj.Y = 45F
obj.Width = 250F
obj.Height = 40F

'set annotation edge property
obj.OutLine = New LinePen()
obj.OutLine.Width = 2F
'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
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
obj.LeaderFlatlength = 20F
'set feeler length
'set leader property
obj.Leader = New AnnotationPen()
obj.Leader.Width = 2F
'set leader width
obj.Leader.Brush = New AnnotationBrush()
obj.Leader.Brush.FillType = RasterEdge.Imaging.Annotation.FillType.Solid
'set leader style
obj.Leader.Brush.Solid_Color = Color.Purple
'set leader color
obj.Leader.DashCap = System.Drawing.Drawing2D.DashCap.Flat
'set leader's line dashcap
obj.Leader.DashStyle = System.Drawing.Drawing2D.DashStyle.Dot
'set leader's line dash style

Dim folderName As String = "C:/"
Dim img As Bitmap = obj.CreateAnnotation()
img.Save(folderName & "CalloutAnnotation.png")
Catch ex As Exception
End Try
End Sub
End Class
End Namespace
Using our "RasterEdge.Imaging.Annotation.dll", developers are not only able to create callout and other annotations in VB.NET application, but also capable of adding callout annotation on image and document using C# class. Here is a detailed guide that tells you how to make callout annotation using C#.NET code.
Create Callout Annotation in VB.NET Conclusion
In conclusion, it is easy to create callout annotation using this VB.NET annotation control with this comprehensive guide. This control enables you to add powerful annotation capabilities into your VB.NET application to draw or markup visible contents on image or document. There is no need to depend on any external tool to create annotations because this control is a standalone and advanced component. Annotations made on image or document can be customized, deleted or saved easily and quickly through VB.NET programming.

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