Vcl.Imaging.GIFImg.TGIFColorMap.ExportPalette
Delphi
function ExportPalette: HPalette;
C++
HPALETTE __fastcall ExportPalette(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Vcl.Imaging.GIFImg.pas Vcl.Imaging.GIFImg.hpp |
Vcl.Imaging.GIFImg | TGIFColorMap |
Description
Creates a Windows palette from the color map.
Use ExportPalette to create a Windows palette from the Data color map.
If the number of colors in the color map stored in the Count property is nonzero, ExportPalette returns a handle to the generated Windows palette. If Count is zero, ExportPalette returns a null handle, without attempting to generate the Windows palette.