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

In This Topic
    Dimension Property (Geometry)
    In This Topic
    Gets the dimension of the geometry.
    Syntax
    Public ReadOnly Property Dimension As Integer
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also