GetBitmapPalette method (Main Control)

Visual C++ 4.0 example

Delphi 2.0 example

 

Builder Syntax

HPALETTE GetBitmapPalette (HDC hDevice);

Delphi Syntax

GetBitmapPalette (hDevice: HDC): HPALETTE;

Overview

Refer to Managing Palettes.

Remarks

Returns the handle of the palette used by the specified device context. Use this method with the SetDDB method to specify the DDB's palette.

See Also

Topics:

Raster Images: Palettes