Vcl.Graphics.TGraphic.GetPalette
Delphi
function GetPalette: HPALETTE; virtual;
C++
virtual HPALETTE __fastcall GetPalette();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TGraphic |
Description
Get color palette of graphical image.
GetPalette gets the color palette of the graphical image. You can also use the Palette property to get the color palette of a graphical image. If the graphic does not need or use a palette, the Palette property is zero.