Vcl.Imaging.jpeg.TJPEGImage.SetPalette
Delphi
procedure SetPalette(Value: HPalette); override;
C++
virtual void __fastcall SetPalette(HPALETTE Value);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.Imaging.jpeg.pas Vcl.Imaging.jpeg.hpp |
Vcl.Imaging.jpeg | TJPEGImage |
Description
Sets the color palette of the jpeg image.
SetPalette sets the color palette of the jpeg image.
Use the Palette property to get the color palette of the jpeg image. If the image does not need or does not use a palette, the Palette property is zero.