This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeometry Interface > IGeometry.GeometryType Property (ArcObjects .NET 10.5 SDK) |
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
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