RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBitmap.ReleasePalette Method

Returns the handle to the bitmap's palette and disassociates the palette from the TBitmap object.

Pascal
function ReleasePalette: HPALETTE;
C++
__fastcall HPALETTE ReleasePalette();

Use ReleasePalette to disassociate the palette from the bitmap image. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!