MobileForms Toolkit Documentation

GeoDistance.PointDistance Method 

Creates the GeoDistance object representing the distance of two geographic locations.

public static GeoDistance PointDistance(
GeoPoint p1,
GeoPoint p2
);

Parameters

p1
The first GeoPoint object representing the geographic location.
p2
The second GeoPoint object representing the geographic location.

Return Value

The GeoDistance object representing the distance of two geographic locations.

Exceptions

Exception Type Condition
ArgumentException One of the points has invalid latitude or longitude.

See Also

GeoDistance Class | Resco.Location Namespace