The DrawEllipse method draws an ellipse on the Map. The center of the ellipse is the center of the specified bounding rectangle. The ellipse is outlined and is filled by using the symbol specified by the symbol parameter.


Namespace: ActualMap.Windows
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public Sub DrawEllipse( _ 
   ByVal left As Double,  _ 
   ByVal top As Double,  _ 
   ByVal right As Double,  _ 
   ByVal bottom As Double,  _ 
   ByVal symbol As Symbol _ 
)
C#
public void DrawEllipse(
   double left,
   double top,
   double right,
   double bottom,
   Symbol symbol
)
C++
public:
 void DrawEllipse(
   double left,
   double top,
   double right,
   double bottom,
   Symbol symbol
) sealed 
J#
public void DrawEllipse(
   double left,
   double top,
   double right,
   double bottom,
   Symbol symbol
)
JScript
public  function DrawEllipse(
   left : double,
   top : double,
   right : double,
   bottom : double,
   symbol : Symbol
)

Parameters

left
A double expression that represents the X coordinate of the upper-left corner of the bounding rectangle.
top
A double expression that represents the Y coordinate of the upper-left corner of the bounding rectangle.
right
A double expression that represents the X coordinate of the lower-right corner of the bounding rectangle.
bottom
A double expression that represents the Y coordinate of the lower-right corner of the bounding rectangle.
symbol
An object expression that evaluates to a Symbol object.

Remarks

This method should be invoked in a AfterMapDraw event.

See Also