This function retrieves the HDF tag and reference number of the annotation identified by its index and by its annotation type.
Result = HDF_AN_GET_TAGREF(Annotation_id, index, Annotation_type, Annotation_tag, Annotation_ref)
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
HDF AN interface identifier returned by HDF_AN_START.
Index of the annotation. This parameter is a nonnegative integer and is less than the total number of annotations of type Annotation_type in the file. Use HDF_AN_FILEINFO to obtain the total number of annotations of each type in the file.
Type of the annotation. The following table lists the valid values of the parameter Annotation_type in the left column, and the corresponding values of the parameter Annotation_tag in the right column.
A named variable that will contain the HDF tag of the annotation.
A named variable that will contain the HDF reference number of the annotation.
None.
Introduced: 5.2