Skip to main content

SetBitmapBits(TBitmap,TRGBColors,Boolean) Method

Stores pixel data to a specified bitmap object.

Declaration

procedure SetBitmapBits(ABitmap: TBitmap; const AColors: TRGBColors; ATopDownDIB: Boolean);

Parameters

Name Type
ABitmap TBitmap
AColors TRGBColors
ATopDownDIB Boolean

Remarks

This procedure stores the pixel data passed as the AColors parameter to the ABitmap object.

Pass True as the ATopDownDIB parameter to specify if the bitmap object is a top-down DIB. Otherwise, it is considered a bottom-up DIB.

See Also