Sign in Join
FPDoc Onlineexperiment

TCustomBitmap.SetPixelFormat procedure

Member of TCustomBitmapprotectedIn unit Graphics

Sets the value for the PixelFormat property.

Declaration

pascal
procedure SetPixelFormat(AValue: TPixelFormat); override

Description

Implements the abstract virtual method defined in the TRasterImage ancestor.

Frees the raw image data in the class instance. No actions are performed in the method when the new property value is the same as the existing property value.

See also

An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.