OverlayBitmap.DrawFrameEllipse Method

This method draws an empty frame ellipse on the live video.
Syntax:
[C#]
public void DrawFrameEllipse( System.Drawing.Color clr, int x0, int y0, int x1, int y1 );
Parameter Description
clr

Specifies the color of the ellipse.

x0

Specifies the column in pixel units of the upper left hand corner of the bounding rectangle of the ellipse on the live video.

y0

Specifies the row in pixel units of the upper left hand corner of the bounding rectangle of the ellipse on the live video.

x1

Specifies the column in pixel units of the lower right hand corner of the bounding rectangle of the ellipse on the live video.

y1

Specifies the row in pixel units of the lower right hand corner of the bounding rectangle of the ellipse on the live video.

Limitations:

Run time only. Only after ICImagingControl.LiveStart has been called once.

Information:

Introduced in version 2.0

Example:

This example demonstrates how to draw a empty yellow ellipse on the live video.

[C#]
OverlayBitmap ob = ICImagingControl1.OverlayBitmapAtPath[PathPositions.Device]; ob.DrawFrameEllipse(System.Drawing.Color.Yellow, 100, 100, 250, 200);
See also: OverlayBitmap, OverlayBitmap.DrawSolidEllipse, ICImagingControl.LiveStart

<< ICImagingControl.OverlayBitmap