Guide for C#
Core Document Formats
Additional Features
Ellipse Annotation

C# Imaging - Ellipse Annotation in C#.NET

Create and Customize Ellipse Annotation in C# Image Project

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

Image Ellipse Annotation in C# Overview
RasterEdge .NET Imaging Annotating toolkit offers users the flexible and time tested image ellipse annotation technology in variable .NET classes projects, like C#, VB, ASP.NET & .NET Windows Forms. Our image annotations are perfect for general image markup applications as well as specialized document and medical applications. print mvc view to pdf, c# extract text from pdf using pdfsharp, pdf mvc, create pdf report from database in asp.net using vb.net, vb.net pdfreader, c# datamatrix reader. This page mainly aims at demonstrating how to create, customize, save and print ellipse annotation to image in C#.NET image application.
Related .net document control helps:
asp.net pdf viewer control: ASP.NET PDF Viewer Control: view, navigate, zoom Adobe PDF document in C# ASP.NET
asp.net dicom web viewer: ASP.NET Dicom Document Viewer Control: view, annotate dicom imaging files online in ASP.NET
asp.net excel view: ASP.NET Excel Viewer in C# Control (MVC & WebForms): view Office Excel document in web browser.
asp.net view text file: ASP.NET Text file viewer in MVC, WebForms: Open, view, annotate, convert txt files in C# ASP.NET
asp.net office document viewer: ASP.NET Office Word Document Viewer: view Word doc files online using C# in ASP.NET MVC web applications
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 pdf editor control: EdgePDF: ASP.NET PDF Editor Web Control: Online view, annotate, redact, edit, process, convert PDF documents
In this page, several aspects of image ellipse annotation are provided:
  • C# image ellipse annotation features and technologies within .NET Imaging Annotating SDK
  • Detailed guide on how to create and customize ellipse annotation on image and document page
  • More recommendation of .NET image annotating functions in C# program
c# pdf stamper, convert pdf to text c#, c# remove text from pdf, vb.net pdf, convert excel to pdf using vb.net, vb.net convert pdf to image free, vb.net pdf to png.
Overview of Ellipse Annotation Features in C#
  • Totally program image ellipse annotation function in C# .NET Framework
  • Compatible with the latest RasterEdge .NET Imaging SDK Add-ons
  • Provide free C# code to create ellipse annotation on image or document page
  • Ellipse annotation can be added to bitonal, color and grayscale images in C#
  • Support adding ellipse annotation object on JPEG, PNG, BMP, GIF and TIFF images
  • Easy to set the parameter of image ellipse annotation size & edge in C# project
  • Make a choice of personalized annotation filled shape color and style in C#
  • Draw ellipse annotation to a presentation image layer or permanently burn it onto the image page
  • Save created ellipse annotation as a separate image to local file in C# asp.net add text to pdf field, asp.net pdf writer, open word file in asp.net c#, pdf preview in asp net c# example, asp.net pdf viewer component, mvc display pdf in view, asp.net display image.
  • Use .NET image printer to print annotated image in high quality with methods in C#
Create Ellipse Annotation Program in C#
This part will show users how to create the ellipse annotation application in Visual C# class. Please follow the detailed tips below to achieve a proper C# project. Want to get help on ellipse annotation in VB.NET, please go to how to add ellipse annotation to single or multi-page images in VB.NET class.
  1. Open Microsoft Visual Studio (2005 or any later version);
  2. Create a Windows project in Visual C# class;
  3. Copy the license file to "Debug" folder under the "bin" file of your created C# Windows project;
  4. Integrate following image annotation DLLs to your Visual C# applications;
    • RasterEdge .Imaging.Basic.dll
    • RasterEdge .Imaging.Annotation.dll
  5. Use following using statements in C# image application:
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;
C# Method to Create Image Ellipse Annotation
With following completely developed APIs in C# code, users can easily create customized ellipse annotation on image. Specific customizable annotation properties include: annotation edge data, location, font style and annotation brush shadow.
public static EllipseAnnotation CreateEllipseAnnotation(float x, float y, float w, float h);
public static EllipseAnnotation CreateEllipseAnnotation(float x, float y, float w, float h, AnnotationPen outline, AnnotationBrush fill,
AnnotationBrush shadow, float shadowX, float shadowY);
Create Image Ellipse Annotation Example in C#
As displayed in following C# sample code, when programming image ellipse annotation, users can change the parameter of annotation width & height and filled shape properties. Nay more, users are supposed to save the annotated image to variable image formats.
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 EllipseAnnotationDemo
{
/*
*
*
* SDK Dependency:
* RasterEdge.Imaging.Annotation.dll
*
*
*/

public static void Test()
{
try
{

EllipseAnnotation obj = new EllipseAnnotation();
// set annotation size
obj.X = 60.0F;
obj.Y = 45.0F;
obj.Width = 156.0F;
obj.Height = 228.0F;

//set annotation edge property
obj.OutLine = new LinePen();
obj.OutLine.Width = 5.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
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 shadow property
obj.ShadowFill = new AnnotationBrush();
obj.ShadowFill.FillType = RasterEdge.Imaging.Annotation.FillType.Solid;//set shadow style
obj.ShadowFill.Solid_Color = Color.DarkGreen;//set shadow color
obj.ShadowX = 20.0F;//set shadow position
obj.ShadowY = 20.0F;
obj.ShowShadow = true;//show shadow or not

string folderName = "C:/";
Bitmap img = obj.CreateAnnotation();
img.Save(folderName + "EllipseAnnotation.png");
}
catch (Exception ex)
{
Debug.WriteLine(ex.Message);
}
}
}
}
More Recommendation of C# Image Annotating Functions
Using our .NET image annotating SDK, users are able to add and create a broad range of annotation objects on single or multi-page images in C# code, including text, freehand, line, ellipse, rectangle, rubber stamps, hot spot, etc. if you are still interested image annotation functions in web client and Windows Forms projects, you can go to tutorials on image annotation application in web ASP.NET & How to annotate image page within .NET WinForms code.


Recommend this to Google+


RasterEdge.com 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 Edge.com