Creates a new Polyline object.


Namespace: AspMap
Assembly: AspMapNET (in AspMapNET.dll)

Syntax

Visual Basic (Declaration)
Public Sub New( _ 
   ByVal point1 As Point,  _ 
   ByVal point2 As Point _ 
)
C#
public Polyline(
   Point point1,
   Point point2
)
C++
public:
 Polyline(
   Point point1,
   Point point2
) sealed 
J#
public Polyline(
   Point point1,
   Point point2
)
JScript
public function Polyline(
   point1 : Point,
   point2 : Point
)

Parameters

point1
A Point object that represent the first point of the Polyline.
point2
A Point object that represent the second point of the Polyline.

See Also