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

# HDF_AN_ATYPE2TAG

This function returns the HDF tag that corresponds to the annotation type specified by the parameter Annotation_type.

## Syntax

Result = HDF_AN_ATYPE2TAG(Annotation_type)

## Return Value

Returns the HDF annotation tag (Annotation_tag) if successful, or not found (0) otherwise.

## Arguments

### Annotation_type

Type of the annotation. The following table lists the valid values of Annotation_type in the left column and the corresponding values for the returned annotation tag on the right.

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