SE_shape_set_anno

Sets the annotation of a shape

Usage syntax

LONG SE_shape_set_anno (SE_SHAPE shape, const SE_ANNO anno);

Parameters
shape A handle to an active shape object
anno A pointer to an active annotation object
Description

SE_shape_set_anno sets the annotation of a shape. Use the SE_anno_* functions to work with an SE_ANNO object. If the SE_ANNO object is NULL, then the shape’s current annotation is removed.

Returns

SE_SUCCESS
SE_INVALID_ANNO_OBJECT

SE_INVALID_POINTER

SE_INVALID_SHAPE_OBJECT

SE_OUT_OF_CLMEM

SE_READ_ONLY_SHAPE

SE_SDE_NOT_STARTED

Notes

∙  If you pass a shape returned from SE_stable_search or SE_stable_get_shape to tgt_shape, the SE_READ_ONLY_SHAPE error is returned.