This document is archived and information here might be outdated.  Recommended version.


IMensuration.GetAreaAndPerimeter Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IMensuration.GetAreaAndPerimeter Method

Computes the area and perimeter of a polygon with no interior holes.

[Visual Basic .NET]
Public Sub GetAreaAndPerimeter ( _
    ByVal pPolygon As IPolygon, _
    ByRef ppPolygonMeasurement As IPolygonMeasurement _
)
[C#]
public void GetAreaAndPerimeter (
    IPolygon pPolygon,
    ref IPolygonMeasurement ppPolygonMeasurement
);
[C++]
HRESULT GetAreaAndPerimeter(
  IPolygon* pPolygon,
  IPolygonMeasurement** ppPolygonMeasurement
);
[C++]

Parameters pPolygon [in]
pPolygon is a parameter of type IPolygon* ppPolygonMeasurement [out]
ppPolygonMeasurement is a parameter of type IPolygonMeasurement**

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMensuration Interface