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.CreateEmptyGeometryByType Method (ArcObjects .NET 10.5 SDK) |
Creates an empty geometry of the specified ArcObjects geometry type.
[Visual Basic .NET] Public Sub CreateEmptyGeometryByType ( _ ByVal GeometryType As esriGeometryType, _ ByRef outGeometry As IGeometry _ )
[C#] public void CreateEmptyGeometryByType ( esriGeometryType GeometryType, ref IGeometry outGeometry );
[C++]
HRESULT CreateEmptyGeometryByType(
esriGeometryType GeometryType,
IGeometry** outGeometry
);
[C++]
Parameters GeometryType
GeometryType is a parameter of type esriGeometryType outGeometry [out]
outGeometry is a parameter of type IGeometry