##### PaletteCount

##### Applies to

TDirectDraw

##### Declaration

property PaletteCount: Integer;

##### Description

Use PaletteCount when iterating over all the palettes of this object. The palettes of this object are listed in the Palettes property array.
PaletteCount is a read-only property.

##### Note

The value of PaletteCount is always 1 greater than the highest Palettes index, because the first Palettes index is 0.