ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Geometry Namespace / Geometry Class / Dimension Property
Version

Dimension Property (Geometry)
Gets the dimension of the geometry.
Syntax
public int Dimension {get;}
Exceptions
ExceptionDescription
The method is not implemented for GeometryBag.
Remarks
Points and Multipoints have dimension 0.
Polylines have dimension 1.
Polygons, Multipatches and Envelopes have dimension 2.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also