SE_shape_as_WKB |
Returns the well-known binary representation of a shape
LONG SE_shape_as_WKB (const SE_SHAPE shape, LONG alloc_size, LONG *binary_size, CHAR *WKB_type);
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 |
*WKB_type | A pointer to the shape in the well-known binary representation |
Returns the well-known binary representation of a shape.
SE_SUCCESS
SE_BINARY_TOO_SMALL
SE_INVALID_ENTITY_TYPE
SE_INVALID_POINTER
SE_INVALID_SHAPE_OBJECT
SE_OUT_OF_CLMEM
SE_SDE_NOT_STARTED
∙ Ignores any CAD data in the source shape, and removes any CAD data in the target shape.