Vcl.Imaging.pngimage.TPNGObject.GetPalette
Delphi
function GetPalette: HPALETTE; {$IFDEF UseDelphi}override;{$ENDIF}
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | protected | Vcl.Imaging.pngimage.pas | Vcl.Imaging.pngimage | TPNGObject |
Description
Get color palette of graphical image. {{#multireplace:Vcl.Imaging.pngimage.TPNGObject.GetPalette|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}} inherits from {{#multireplace:Vcl.Graphics.TGraphic.GetPalette|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}. All content below this line refers to {{#multireplace:Vcl.Graphics.TGraphic.GetPalette|H21=!|H25=%|H28=(|H29=)|H2A=*|H2B=+|H2F=/|H3C=<|H3D==|H3E=>|H5B=[|H5D=]|H5E=^|H7C=|}}.
Get color palette of graphical image.
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.