Annotation identifier returned by ANselect, ANcreate or ANcreatef
ann_tag
OUT:
Tag of the annotation
ann_ref
OUT:
Reference number of the annotation
Purpose
Retrieves the tag/reference number pair of an annotation given its identifier.
Return value
Returns SUCCEED (or 0) if successful or FAIL (or -1) otherwise.
Description
ANid2tagref retrieves the tag/reference number pair of the annotation identified by the parameter ann_id. The tag is stored in the parameter ann_tag and the reference number is stored in the parameter ann_ref.
Possible values returned in ann_tag are DFTAG_DIL (or 104) for a data label, DFTAG_DIA (or 105) for a data description, DFTAG_FID (or 100) for a file label and DFTAG_FD (or 101) for a file description.
FORTRAN
integer function afidtagref(ann_id, ann_tag, ann_ref)