Vcl.Graphics.TGraphic.SetPalette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPalette(Value: HPALETTE); virtual;

C++

virtual void __fastcall SetPalette(HPALETTE Value);

Properties

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

Description

Set color palette of graphical image.

SetPalette sets the color palette of the graphical image.

Use the Palette property 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.

See Also