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


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

Syntax

Visual Basic (Declaration) 
Public Sub AddLatLongLine( _
   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.AddLatLongLine(p1, p2, line)
C# 
public void AddLatLongLine( 
   PointF p1,
   PointF p2,
   Line line
)

Parameters

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

See Also

© 2010 All Rights Reserved.