## DistancePointToPolygon

**Syntax**

double DistancePointToPolygon(MapWinGIS.Point pt, MapWinGIS.Shape polygon, int distType)

**Summary**

Not implemented

Computes the distance between a point and a polygon.

**Parameters**

pt |
The point to be considered. |

polygon |
The line to be considered. |

distType |
Indicates whether the distance should be from the nearest, farthest, or centroid of the polygon. |

**Returns**

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
Statistics