ArcGIS Enterprise SDK
IGeometry.Dimension Property
ArcGIS Developer Help

IGeometry.Dimension Property

The topological dimension of this geometry.

[Visual Basic .NET]
Public ReadOnly Property Dimension As esriGeometryDimension
[C#]
public esriGeometryDimension Dimension {get;}

Description

Returns the dimension of the geometry object based on the geometry's type.

Remarks


Note: At 9.0, Multipatches are now considered as two dimensional geometry. esriGeometry3Dimension will be used for an upcoming new geometry type.
Supported esriGeometryDimensions:

-1    esriGeometryNoDimension
1    esriGeometry0Dimension
2    esriGeometry1Dimension
4    esriGeometry2Dimension
5    esriGeometry25Dimension
6    esriGeometry3Dimension

Dimension Example

See Also

IGeometry Interface