## DistanceTo

**Syntax**

DistanceTo(MapWinGeoProc.Topology2D.Extents Ext)

**Summary**

Finds the shortest path between the two closest points on the two extents objects. Returns 0.0 if the two intersect.

**Parameters**

Ext |
The Topology2D.Extents to compare to. |

**Returns**

Double, the magnitude of shortest path between the extents.

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
DistanceTo