This document is archived and information here might be outdated.  Recommended version.


IGeometry.Dimension Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometry Interface > 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;}
[C++]
HRESULT get_Dimension(
  esriGeometryDimension* Dimension
);
[C++]
Parameters
Dimension [out, retval]

Dimension is a parameter of type esriGeometryDimension*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

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