SE_shape_as_text |
Returns a text representation of a shape
LONG SE_shape_as_text (const SE_SHAPE shape, LONG alloc_size, CHAR *text_shape);
shape | A handle to an active shape object |
alloc_size | The amount of memory to allocate in bytes/td> |
*text_shape | A pointer to the shape as a text string |
Returns the text representation of a shape. If you pass a NIL shape, an error message is returned.
SE_SUCCESS
SE_AMBIGUOUS_NIL_SHAPE
SE_INVALID_ENTITY_TYPE
SE_INVALID_GEOMETRY_TYPE
SE_INVALID_PARTNUM
SE_INVALID_POINTER
SE_INVALID_SHAPE
SE_INVALID_SHAPE_OBJECT
SE_OUT_OF_CLMEM
SE_SDE_NOT_STARTED
SE_SHAPE_TEXT_TOO_LONG
∙ Ignores any CAD data in the source shape, and removes any CAD data in the target shape.