Vcl.Graphics.TBitmap.ReleasePalette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ReleasePalette: HPALETTE;

C++

HPALETTE __fastcall ReleasePalette();

Properties

Type Visibility Source Unit Parent
function public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBitmap

Description

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

Use ReleasePalette to disassociate the palette from the bitmap image.