## Centroid

**Syntax**

Centroid(ref MapWinGIS.Shape polygon)

**Summary**

Finds the point that represents the "center of mass" for a
polygon shape.

**Parameters**

polygon |
The polygon shape. |

**Returns**

The centroid: a point representing the center of mass of the polygon.

Visual Basic Net 2005 Example
Implementation Code

Visual C# 2005 Example Implementation
Code

Back to
Statistics