HDF_AN_GET_TAGREF
Syntax | Return Value | Arguments | Keywords | Version History
This function retrieves the HDF tag and reference number of the annotation identified by its index and by its annotation type.
Syntax
Result = HDF_AN_GET_TAGREF(Annotation_id, index, Annotation_type, Annotation_tag, Annotation_ref)
Return Value
Returns SUCCEED (0) if successful or FAIL (-1) otherwise.
Arguments
Annotation_id
HDF AN interface identifier returned by HDF_AN_START.
Index
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.
Annotation_type
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.
Annotation_tag
A named variable that will contain the HDF tag of the annotation.
Annotation_ref
A named variable that will contain the HDF reference number of the annotation.
Keywords
None
Version History