Draws a rectangle on the Map. The rectangle 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 DrawRectangle( _ 
   ByVal rectangle As Rectangle,  _ 
   ByVal symbol As Symbol _ 
)
C#
public void DrawRectangle(
   Rectangle rectangle,
   Symbol symbol
)
C++
public:
 void DrawRectangle(
   Rectangle rectangle,
   Symbol symbol
) sealed 
J#
public void DrawRectangle(
   Rectangle rectangle,
   Symbol symbol
)
JScript
public  function DrawRectangle(
   rectangle : Rectangle,
   symbol : Symbol
)

Parameters

rectangle
Represents the coordinates of the rectangle.
symbol
An object expression that evaluates to a Symbol object.

Remarks

This method should be invoked in a AfterMapDraw event.

See Also