MobileForms Toolkit Documentation

GeoPolyline  Constructor (IEnumerable)

Constructs an instance of the GeoPolyline object and sets the path represented as an enumerable object containing the GeoPoint derived objects.

public GeoPolyline(
IEnumerable points
);

Parameters

points
An enumeration containing the GeoPoint or the GeoPosition objects.

Remarks

This construction supports any of following types: List<GeoPoint>, List<GeoPosition>, GeoPoint[], GeoPosition[].

Exceptions

Exception Type Condition
InvalidCastException Raised if one of the objects cannot be casted to GeoPoint.

See Also

GeoPolyline Class | Resco.Location Namespace | GeoPolyline Constructor Overload List