ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Geometry Namespace / GeometryEngine Class / GeodesicArea Method / GeodesicArea(Geometry) Method
The input geometry. Cannot be null and its spatial reference cannot be null.
Version

GeodesicArea(Geometry) Method
Gets the geodesic area of a geometry.
Syntax
public double GeodesicArea( 
   Geometry geometry
)

Parameters

geometry
The input geometry. Cannot be null and its spatial reference cannot be null.

Return Value

The calculated geodesic area 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.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.0 or higher.
See Also