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

# HDF_GR_LUTTOREF

This function returns the HDF reference number of the palette identified by the parameter pal_id. This function is commonly used for the purpose of annotating the palette or including the palette within a HDF Vgroup.

## Syntax

Result = HDF_GR_LUTTOREF(pal_id)

## Return Value

Returns the reference number of the palette if successful or not found (0) otherwise.

## Arguments

### pal_id

Palette identifier returned by HDF_GR_GETLUTID.

## Keywords

None

## Version History

5.2 | Introduced