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


IGeometryFactory.CreateGeometry Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Geometry)  

IGeometryFactory.CreateGeometry Method

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

Product Availability

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

See Also

IGeometryFactory Interface