Vcl.Imaging.pngimage.TPNGObject.SetPalette
Delphi
procedure SetPalette(Value: HPALETTE); {$IFDEF UseDelphi}override;{$ENDIF}
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure | protected | Vcl.Imaging.pngimage.pas | Vcl.Imaging.pngimage | TPNGObject |
Description
Set color palette of graphical image.
Vcl.Imaging.pngimage.TPNGObject.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.