Draws a line on the Map.


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

Syntax

Visual Basic (Declaration)
Public Sub DrawLine( _ 
   ByVal x1 As Double,  _ 
   ByVal y1 As Double,  _ 
   ByVal x2 As Double,  _ 
   ByVal y2 As Double,  _ 
   ByVal symbol As Symbol _ 
)
C#
public void DrawLine(
   double x1,
   double y1,
   double x2,
   double y2,
   Symbol symbol
)
C++
public:
 void DrawLine(
   double x1,
   double y1,
   double x2,
   double y2,
   Symbol symbol
) sealed 
J#
public void DrawLine(
   double x1,
   double y1,
   double x2,
   double y2,
   Symbol symbol
)
JScript
public  function DrawLine(
   x1 : double,
   y1 : double,
   x2 : double,
   y2 : double,
   symbol : Symbol
)

Parameters

x1
Specifies the X coordinate of the starting point of the line.
y1
Specifies the Y coordinate of the starting point of the line.
x2
Specifies the X coordinate of the end point of the line.
y2
Specifies the Y coordinate 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