dotnetCHARTING Send comments on this topic.
AddLine Method
See Also 
dotnetCHARTING.Mapping Namespace > MapLayer Class : AddLine Method


p1
First coordinate in Longitude, Latitude format.
p2
Second coordinate in Longitude, Latitude format.
line
The line style used to draw this line.
Adds a line to this map layer.

Syntax

Visual Basic (Declaration) 
Public Sub AddLine( _
   ByVal p1 As PointF, _
   ByVal p2 As PointF, _
   ByVal line As Line _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapLayer
Dim p1 As PointF
Dim p2 As PointF
Dim line As Line
 
instance.AddLine(p1, p2, line)
C# 
public void AddLine( 
   PointF p1,
   PointF p2,
   Line line
)

Parameters

p1
First coordinate in Longitude, Latitude format.
p2
Second coordinate in Longitude, Latitude format.
line
The line style used to draw this line.

See Also

©2002 - 2008 Webavail Productions Inc. & Corporate Web Solutions Ltd. All Rights Reserved.