Vcl.Graphics.TMetafile.GetPalette
Delphi
function GetPalette: HPALETTE; override;
C++
virtual HPALETTE __fastcall GetPalette(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | Vcl.Graphics.pas Vcl.Graphics.hpp |
Vcl.Graphics | TMetafile |
Description
Get color palette of graphical image.
Vcl.Graphics.TMetafile.GetPalette inherits from Vcl.Graphics.TGraphic.GetPalette. All content below this line refers to Vcl.Graphics.TGraphic.GetPalette.
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.