Routines (alphabetical) > Routines: H > HDF Routines > HDF_AN_TAG2ATYPE

# HDF_AN_TAG2ATYPE

This function returns the HDF AN annotation type that corresponds to the specified HDF annotation tag.

## Syntax

Result = HDF_AN_TAG2ATYPE(Annotation_tag)

## Return Value

Returns the annotation type if successful or FAIL (-1) otherwise.

## Arguments

### Annotation_tag

HDF tag of the annotation.

The following table lists the valid values of Annotation_tag in the left column and the corresponding values of the returned annotation type in the right column.

Annotation Type | HDF Annotation Tag
0 = Data Label (AN_DATA_LABEL) | 104 (DFTAG_DIL)
1= Data Description (AN_DATA_DESC) | 105 (DFTAG_DIA)
2 = File Label (AN_FILE_LABEL) | 100 (DFTAG_FID)
3 = File Description (AN_FILE_DESC) | 101 (DFTAG_FD)

## Keywords

None

## Version History

5.2 | Introduced