API:Vcl.AxCtrls.TOleGraphic.SetPalette

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure SetPalette(Value: HPALETTE); override;

C++

virtual void __fastcall SetPalette(HPALETTE Value);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.AxCtrls.pas
Vcl.AxCtrls.hpp
Vcl.AxCtrls TOleGraphic

Description

Set color palette of graphical image.

Vcl.AxCtrls.TOleGraphic.SetPalette inherits from Vcl.Graphics.TGraphic.SetPalette. All content below this line refers to Vcl.Graphics.TGraphic.SetPalette.

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