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.CreateGeometry Method (ArcObjects .NET 10.5 SDK) |
Create a point, polyline, polygon, or multipoint from the specified shapefile format buffer.
[Visual Basic .NET] Public Sub CreateGeometry ( _ ByRef byteCountInOut As Integer, _ ByRef geometryInfo As Byte&, _ ByRef outGeometry As IGeometry _ )
[C#] public void CreateGeometry ( ref int byteCountInOut, ref Byte& geometryInfo, ref IGeometry outGeometry );
[C++]
HRESULT CreateGeometry(
long* byteCountInOut,
Byte* geometryInfo,
IGeometry** outGeometry
);
[C++]
Parameters byteCountInOut [in, out] byteCountInOut is a parameter of type long geometryInfo [in] geometryInfo is a parameter of type Byte outGeometry [out]
outGeometry is a parameter of type IGeometry