Parameters
- geometry
- The input geometry. Cannot be null and its spatial reference cannot be null.
- areaUnit
- The unit of the output area. If null, then the area is square meters.
Exception | Description |
---|---|
System.ArgumentNullException | Geometry is null or geometry's spatial reference is null. |
System.NotImplementedException | The method is not implemented for GeometryBag or Multipatch. |
System.NotImplementedException | Spatial reference of geometryis an image coordinate system. |
Target Platforms: Windows 11, Windows 10, Windows 8.1