Vcl.Imaging.GIFImg.TGIFColorMap.ImportPalette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ImportPalette(Palette: HPalette);

C++

void __fastcall ImportPalette(HPALETTE Palette);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFColorMap

Description

Imports a Windows palette into the color map.

Use ImportPalette to import the color map whose handle is given through the Palette argument into the Data color map.

Note: All items in the Data color map are removed, using the Clear method, prior to importing the Windows palette.

See Also