Vcl.Graphics.TBitmap.GetPalette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function GetPalette: HPALETTE; override;

C++

virtual HPALETTE __fastcall GetPalette();

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBitmap

Description

Get color palette of graphical image.

Vcl.Graphics.TBitmap.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.

See Also