Converts a geometry into Well Known Binary format.
JavaScript |
|
ExportToWKB( b3Dimension) |
C# |
|
dynamic ExportToWKB( bool b3Dimension) |
C++ |
|
HRESULT ExportToWKB(
|
Parameters
b3Dimantion
When set to TRUE, Z values are exported to the WKB (when FALSE, they are omitted).
Return Value
wkb
A Safe Array of unsigned bytes.
Note: In JavaScript, use the VBArray object. E.g.,
var wkb = geometry.ExportToWKB(true);
var arr = new VBArray(wkb).toArray();
Exceptions
See: HRESULT Return Values for a list of possible values returned by the HRESULT.