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


esriShapeType Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Constants > E > esriShapeType Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geometry)  

esriShapeType Constants

Esri Shapefile shape types. Refer to the Esri Shapefile whitepaper for details. The ...General... types listed below are currently not public and not supported in shapefiles.

Constant Value Description
esriShapeNull 0 Empty shape and unknown type.
esriShapePoint 1 Two dimensional point.
esriShapePointM 21 Two dimensional point with a measure (M) attribute.
esriShapePointZM 11 Two dimensional point with measure (M) and height (Z) attributes.
esriShapePointZ 9 Two dimensional point with height (Z) attribute.
esriShapeMultipoint 8 Collection of two dimensional points.
esriShapeMultipointM 28 Collection of two dimensional points with measure (M) attributes.
esriShapeMultipointZM 18 Collection of two dimensional points with measure (M) and height (Z) attributes.
esriShapeMultipointZ 20 Collection of two dimensional points with height (Z) attributes.
esriShapePolyline 3 Two dimensional polyline with no attributes and all vertices connected by straight lines.
esriShapePolylineM 23 Two dimensional polyline with measures (Ms) on some or all vertices.
esriShapePolylineZM 13 Two dimensional polyline with measures (Ms) on some or all vertices and heights (Zs) on all vertices.
esriShapePolylineZ 10 Two dimensional polyline with heights (Zs) on all vertices.
esriShapePolygon 5 Two dimensional polygon with no attributes and all vertices connected by straight lines.
esriShapePolygonM 25 Two dimensional polygon with measures (Ms) on some or all vertices.
esriShapePolygonZM 15 Two dimensional polygon with measures (Ms) on some vertices and heights (Zs) on all vertices.
esriShapePolygonZ 19 Two dimensional polygon with heights (Zs) on all vertices.
esriShapeMultiPatchM 31 Three dimensional multipatch with measures (Ms) on some or all vertices.
esriShapeMultiPatch 32 Three dimensional multipatch.
esriShapeGeneralPolyline 50 New style two dimensional polyline type - can have non-linear segments and vertex identifier (ID) attributes.
esriShapeGeneralPolygon 51 New style two dimensional polygon type - can have non-linear segments and vertex identifier (ID) attributes.
esriShapeGeneralPoint 52 New style two dimensional point type - can have identifier (ID) attribute.
esriShapeGeneralMultipoint 53 New style two dimensional multipoint type - can have identifier (ID) attributes.
esriShapeGeneralMultiPatch 54 New style three dimensional multipatch type - can have vertex identifier, normal, texture coordinates, and part material attributes.
esriShapeTypeLast 55

Product Availability

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