SE_anno_set_leader

Sets the leader for the specified annotation

Usage syntax

LONG SE_anno_set_leader (SE_ANNO anno, const SE_SHAPE leader);

Parameters
anno The anno handle
leader A valid shape object
Description

SE_anno_set_leader sets the leader line shape of an annotation. If a nil shape is passed, the leader line is removed. The SE_COORDREF of the placement shape must have the same coordinate reference as the shape to which the annotation will be attached.

Returns

SE_SUCCESS
SE_INCOMPATIBLE_COORDREFS

SE_INVALID_ANNO_OBJECT

SE_INVALID_PARAM_VALUE

SE_INVALID_POINTER

SE_INVALID_SHAPE_OBJECT

SE_SDE_NOT_STARTED