ImageGear .NET v25.0 - Updated
ImGearARTEllipse Class
Members  Example 




ImageGear.Art Assembly > ImageGear.ART Namespace : ImGearARTEllipse Class
Represents ART Ellipse mark.
Object Model
ImGearARTEllipse ClassImGearARTBorder ClassImGearRectangle StructureIImGearRGBQuad InterfaceImGearRectangle Structure
Syntax
'Declaration
 
Public Class ImGearARTEllipse 
   Inherits ImGearARTMark
   Implements IImGearARTEllipse 
'Usage
 
Dim instance As ImGearARTEllipse
public class ImGearARTEllipse : ImGearARTMark, IImGearARTEllipse  
public __gc class ImGearARTEllipse : public ImGearARTMark, IImGearARTEllipse  
public ref class ImGearARTEllipse : public ImGearARTMark, IImGearARTEllipse  
Example
// Setup rectangle for the ellipse mark's location.
ImGearRectangle igRectangle = new ImGearRectangle(10, 10, 300, 100);
// Setup color for the ellipse.
ImGearRGBQuad igRGBQuadEllipse = new ImGearRGBQuad(40, 40, 200);
// Setup color for the ellipse border.
ImGearRGBQuad igRGBQuadEllipseBorder = new ImGearRGBQuad(60, 60, 255);
// Create ellipse with a solid 4 pixel border and opacity of 127 (50%)
ImGearARTEllipse igARTEllipse = new ImGearARTEllipse(
    igRectangle, igRGBQuadEllipse, igRGBQuadEllipseBorder, ImGearARTPenStyle.SOLID, 4, 127
);
// Add the annotation to the ARTPage.
igARTPage.AddMark(igARTEllipse, ImGearARTCoordinatesType.IMAGE_COORD);
' Setup rectangle for the ellipse mark's location.
Dim igRectangle As New ImGearRectangle(10, 10, 300, 100)
' Setup color for the ellipse.
Dim igRGBQuadEllipse As New ImGearRGBQuad(40, 40, 200)
' Setup color for the ellipse border.
Dim igRGBQuadEllipseBorder As New ImGearRGBQuad(60, 60, 255)
' Create ellipse with a solid 4 pixel border and opacity of 127 (50%)
Dim igARTEllipse As New ImGearARTEllipse( _
 igRectangle, igRGBQuadEllipse, igRGBQuadEllipseBorder, ImGearARTPenStyle.SOLID, 4, 127)
' Add the annotation to the ARTPage.
igARTPage.AddMark(igARTEllipse, ImGearARTCoordinatesType.IMAGE_COORD)
Inheritance Hierarchy

System.Object
   ImageGear.ART.ImGearARTSelection
      ImageGear.ART.ImGearARTMark
         ImageGear.ART.ImGearARTEllipse

See Also

Reference

ImGearARTEllipse Members
ImageGear.ART Namespace