ArcObjects Library Reference (Geometry)  

IGeometry.GeometryType Property

The type of this geometry.

[Visual Basic .NET]
Public ReadOnly Property GeometryType As esriGeometryType
[C#]
public esriGeometryType GeometryType {get;}
[C++]
HRESULT get_GeometryType(
  esriGeometryType* shapeType
);
[C++]

Parameters

shapeType [out, retval]

  shapeType is a parameter of type esriGeometryType

Product Availability

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

Remarks

esriGeometryNull          = 0
esriGeometryPoint = 1
esriGeometryMultipoint = 2
esriGeometryPolyline = 3
esriGeometryPolygon = 4
esriGeometryEnvelope = 5
esriGeometryPath = 6
esriGeometryAny = 7
esriGeometryMultiPatch = 9
esriGeometryRing = 11
esriGeometryLine = 13
esriGeometryCircularArc = 14
esriGeometryBezier3Curve = 15
esriGeometryEllipticArc = 16
esriGeometryBag = 17
esriGeometryTriangleStrip = 18
esriGeometryTriangleFan = 19
esriGeometryRay = 20
esriGeometrySphere = 21
Geometry Type Example

See Also

IGeometry Interface