ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / IGeometryEngine Interface / GeodeticArea Method
The input geometry. Cannot be null and its spatial reference cannot be null.
The units of the output. If null, then the output is in meters
The GeodeticCurveType of the segments.

In This Topic
    GeodeticArea Method (IGeometryEngine)
    In This Topic
    Gets the geodetic area of the input geometry.
    Syntax

    Parameters

    geometry
    The input geometry. Cannot be null and its spatial reference cannot be null.
    areaUnit
    The units of the output. If null, then the output is in meters
    curveType
    The GeodeticCurveType of the segments.

    Return Value

    The calculated geodetic area in areaUnit. If areaUnit is null, then the area is in square meters.

    If the geometry is empty, then zero is returned.

    Exceptions
    ExceptionDescription
    Geometry is null or geometry's spatial reference is null.
    The method is not implemented for GeometryBag or Multipatch.
    Spatial reference of geometryis an image coordinate system.
    Remarks
    Geodetic area is calculated by defining the segments between points as determined by curveType.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.4 or higher.
    See Also