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


IGeometry.GeometryType 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.GeometryType Property
ArcGIS Developer Help

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

.NET Samples

Create a custom tool Custom UI elements using add-ins 3D multipatch examples RSS weather layer