Draws a line on the Map.


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

Syntax

Visual Basic (Declaration)
Public Sub DrawLine( _ 
   ByVal p1 As Point,  _ 
   ByVal p2 As Point,  _ 
   ByVal symbol As Symbol _ 
)
C#
public void DrawLine(
   Point p1,
   Point p2,
   Symbol symbol
)
C++
public:
 void DrawLine(
   Point p1,
   Point p2,
   Symbol symbol
) sealed 
J#
public void DrawLine(
   Point p1,
   Point p2,
   Symbol symbol
)
JScript
public  function DrawLine(
   p1 : Point,
   p2 : Point,
   symbol : Symbol
)

Parameters

p1
Specifies the coordinates of the starting point of the line.
p2
Specifies the coordinates of the end point of the line.
symbol
An object expression that evaluates to a Symbol object.

Remarks

This method should be invoked in a AfterMapDraw event.

See Also