PaletteFileName Property

Gets or sets the current file name for custom palette data.

Syntax

object.PaletteFileName [= value]

Parameters

value
A String expression whose value is a path to a valid .AGL data file.

Remarks

The rank of the specfied data file must be 1 and the total size must be 1024 bytes (i.e. 1024 chars, 512 shorts, or 256 longs).

The PaletteId property must be set to Custom for the palette data to be displayed.

In the Visual Basic language, the CopyPaletteData method can be use to directly copy a Basic array as Palette data.

See Also

PaletteId