.netCHARTING v10.7 Documentation


First coordinate in Longitude, Latitude format.
Second coordinate in Longitude, Latitude format.
The line style used to draw this line.
AddLine Method
Syntax
'Declaration
 
Public Sub AddLine( _
   ByVal p1 As PointF, _
   ByVal p2 As PointF, _
   ByVal line As Line _
) 
'Usage
 
Dim instance As MapLayer
Dim p1 As PointF
Dim p2 As PointF
Dim line As Line
 
instance.AddLine(p1, p2, line)
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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also