Vcl.Graphics.TGraphic.Palette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Palette: HPALETTE read GetPalette write SetPalette;

C++

__property HPALETTE Palette = {read=GetPalette, write=SetPalette, nodefault};

Properties

Type Visibility Source Unit Parent
property public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TGraphic

Description

Indicates the color palette of the graphical image.

Use Palette to get the color palette of a graphical image. If the graphic does not need or does not use a palette, the Palette property is zero.

Code Examples