RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TGraphic.SetPalette Method

Set color palette of graphical image.

Pascal
procedure SetPalette(Value: HPALETTE); virtual;
C++
virtual __fastcall SetPalette(HPALETTE Value);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!