Vcl.Imaging.pngimage.TPngImage.DoSetPalette

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

procedure DoSetPalette(Value: HPALETTE; const UpdateColors: Boolean);

C++

void __fastcall DoSetPalette(HPALETTE Value, const bool UpdateColors);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Imaging.pngimage.pas
Vcl.Imaging.pngimage.hpp
Vcl.Imaging.pngimage TPngImage

Description

Sets the color palette of the png image.

DoSetPalette is used internally by the TPngImage class. DoSetPalette sets the color palette of the png image and updates all related internal objects. Use the Palette property to get the color palette of the png image.

See Also