Routines (alphabetical) > Object Classes > Graphics Object Classes > IDLgrPalette::LoadCT

# IDLgrPalette::LoadCT

Syntax | Arguments | Keywords | Version History

The IDLgrPalette::LoadCT procedure method loads one of the IDL predefined color tables into an IDLgrPalette object.

## Syntax

Obj->[IDLgrPalette::]LoadCT, TableNum [, FILE=colortable filename]

## Arguments

### TableNum

The number of the pre-defined IDL color table to load. See Loading Default Color Tables.

## Keywords

### FILE

Set this keyword to the name of a colortable file to be used instead of the file `colors1.tbl` in the IDL distribution. The MODIFYCT procedure can be used to create and modify colortable files.

## Version History

5.0 | Introduced