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

Parameters

shape
An object expression that evaluates to a Point, Rectangle, Points or Shape object.
symbol
An object expression that evaluates to a Symbol object.

Remarks

This method should be invoked in a AfterMapDraw event.

See Also