## DistanceTo

**Syntax**

DistanceTo(MapWinGeoProc.Topology2D.Segment Seg)

**Summary**

Returns the shortest distance to the specified segment

**Parameters**

Seg |
The segment to find the distance to |

**Returns**

Double, the shortest distance to the specified segment

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
DistanceTo