Vcl.Imaging.GIFImg.TGIFFrame.SetPalette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPalette(Value: HPalette);

C++

void __fastcall SetPalette(HPALETTE Value);

Properties

Type Visibility Source Unit Parent
procedure
function
class protected
Vcl.Imaging.GIFImg.pas
Vcl.Imaging.GIFImg.hpp
Vcl.Imaging.GIFImg TGIFFrame

Description

Sets the color palette for a image.

SetPalette replaces the current palette with the one specified through the Value parameter. If the new palette is different than the bitmap's palette, the image is repainted.

See Also