ArcObjects Library Reference (Geometry)  

IGeometryFactory.CreateEmptyGeometryByESRIType Method

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

Product Availability

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

See Also

IGeometryFactory Interface