## DistanceTo

**Syntax**

DistanceTo(MapWinGeoProc.Topology.Point Point)

**Summary**

Calculates the shortest distance to this line segment from the specified MapWinGIS.Point

**Parameters**

Point |
A MapWinGIS.Point specifing the location to find the distance to the line |

**Returns**

A double value that is the shortest distance from the given Point to this line segment

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
DistanceTo