CreateGeometryFromWKB

Creates a geometry from the object’s Well-Known Binary representation. SeeWell-KnownText Representation for Geometric Objects” in the “Overview” chapter for background information on WKB.

 

 

JavaScript

 

CreateGeometryFromWKB(

       buffer)

 

C#

 

IGeometry CreateGeometryFromWKB(

       object buffer)

 

C++

 

HRESULT CreateGeometryFromWKB(

       VARIANT buffer,

       IGeometry** pVal)

 

Parameters

buffer

The buffer containing the Well-Known Binary representation for the geometry object.

Return Value

pVal

An IGeometry representing the newly created geometry.

Exceptions

See: HRESULT Return Values for a list of possible values returned by the HRESULT.