RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TJPEGImage.GetPalette Method

Get color palette of graphical image.

Pascal
function GetPalette: HPALETTE; override;
C++
virtual __fastcall HPALETTE GetPalette();

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. 

 

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