SE_shape_as_binary

Returns the ESRI binary representation of a shape

Usage syntax

LONG SE_shape_as_binary (const SE_SHAPE shape, LONG  alloc_size, LONG *binary_size, CHAR *binary_type);

Parameters
shape A handle to an active shape object
alloc_size The amount of memory to allocate in bytes
*binary_size The actual length in bytes
*binary_type A pointer to the shape in the ESRI binary representation
Description

SE_shape_as_binary returns the ESRI binary representation of a shape.

Returns

SE_SUCCESS
SE_BINARY_TOO_SMALL

SE_INVALID_POINTER

SE_INVALID_SHAPE_OBJECT

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED

Notes

∙  Ignores any CAD data in the source shape, and removes any CAD data in the target shape