Vcl.Imaging.GIFImg.TGIFColorMap.ImportDIBColors

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ImportDIBColors(Handle: HDC);

C++

void __fastcall ImportDIBColors(HDC Handle);

Properties

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

Description

Imports the color table of a DIB into the color map.

Use ImportDIBColors to import the color table of a DIB, whose handle is given through the Handle argument, into the Data color map.

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

See Also