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 > IGeometryFactory Interface > IGeometryFactory.CreateEmptyGeometryByESRIType Method (ArcObjects .NET 10.5 SDK) |
Create an empty geometry of the specified Esri shape file type.
[Visual Basic .NET] Public Sub CreateEmptyGeometryByESRIType ( _ ByVal shapeType As esriShapeType, _ ByRef outGeometry As IGeometry _ )
[C#] public void CreateEmptyGeometryByESRIType ( esriShapeType shapeType, ref IGeometry outGeometry );
[C++]
HRESULT CreateEmptyGeometryByESRIType(
esriShapeType shapeType,
IGeometry** outGeometry
);
[C++]
Parameters shapeType
shapeType is a parameter of type esriShapeType outGeometry [out]
outGeometry is a parameter of type IGeometry