This document is archived and information here might be outdated. Recommended version. |
The type of the default Shape for the features in this feature class.
[Visual Basic .NET] Public ReadOnly Property ShapeType As esriGeometryType
[C#] public esriGeometryType ShapeType {get;}
[C++]
HRESULT get_ShapeType(
esriGeometryType* Type
);
[C++] Parameters Type [out, retval]
Type is a parameter of type esriGeometryType*
ShapeType returns the basic type of geometry of a shape. For the purposes of using the ShapeType property in deciding how to render/symbolize a layer, only esriGeometryPolyline, esriGeometryPolygon, esriGeometryPoint, esriGeometryMulitpoint, and esriGeometryMultipatch need to be checked. All the other types will report as being one of these five types. The reason is that esriGeometryBezier3Curve or esriGeometryPath, etc. can be segments or parts of another shape.
IFeatureClass Interface | IFeatureClass.ShapeType Property | esriGeometryType Constants