Language:
Русский
English
GetPaletteSize (function) (Graph unit)
Returns the size of the palette color lookup table.
Declaration
function GetPaletteSize: Integer;
Target
Real, Protected
Remarks
GetPaletteSize reports how many palette entries can be set for the current graphics mode; for example, the EGA in color mode returns a value of 16.
Restrictions
Must be in graphics mode.