|
Purpose
|
Returns the number of annotations of a given type attached to an object. |
|
Return value
|
Returns the number of annotations or FAIL (or -1) otherwise. |
|
Description
|
ANnumann returns the total number of annotations that are of type annot_type and that are attached to the object identified by its tag, obj_tag, and its reference number, obj_ref. |
|
|
Since this routine is implemented only to obtain the total number of data annotations and not file annotations, the valid values of annot_type are AN_DATA_LABEL (or 0) and AN_DATA_DESC (or 1). To obtain the total number of file annotations or all data annotations, use ANfileinfo. |