Accusoft ImagXpress 12
DrawCircle Method
See Also  Send comments on this topic.
x
The x-coordinate (in pixels) for the center point of the circle or ellipse.
y
The y-coordinate (in pixels) for the center point of the circle or ellipse.
Radius
The radius (in pixels) of the circle or ellipse.
Color

The RGB color of the circles outline. If omitted, Black is used. You can use the RGB function to specify the color.

Note: Value specified must be in a valid OLE_COLOR range.

Aspect
Single-precision value indicating the aspect ratio of the circle. 1.0 yields a perfect (non-elliptical) circle on any screen.
AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : DrawCircle Method

Glossary Item Box

Description

Draws a circle or ellipse onto the image.

Syntax

Visual Basic
Public Sub DrawCircle( _
   ByVal x As Long, _
   ByVal y As Long, _
   ByVal Radius As Long, _
   ByVal Color As OLE_COLOR, _
   ByVal Aspect As Single _
) 

Parameters

x
The x-coordinate (in pixels) for the center point of the circle or ellipse.
y
The y-coordinate (in pixels) for the center point of the circle or ellipse.
Radius
The radius (in pixels) of the circle or ellipse.
Color

The RGB color of the circles outline. If omitted, Black is used. You can use the RGB function to specify the color.

Note: Value specified must be in a valid OLE_COLOR range.

Aspect
Single-precision value indicating the aspect ratio of the circle. 1.0 yields a perfect (non-elliptical) circle on any screen.

Remarks

To fill a circle, set the DrawFillColor and DrawFillStyle properties of the object on which the circle or ellipse is drawn.

The width of the line used to draw the circle or ellipse depends on the setting of the DrawWidth property. The way the circle is drawn on the background depends on the setting of the DrawMode and DrawStyle properties.

The DrawArc method draws into the control's DIB.

See Also

©2013. Accusoft Corporation. All Rights Reserved.