Back to Devexpress

SetBitmapBits(TBitmap,TRGBColors,Boolean) Method

vcl-dxcoregraphics-dot-setbitmapbits-x28-ca5ddd76-x29.md

latest992 B
Original Source

SetBitmapBits(TBitmap,TRGBColors,Boolean) Method

Stores pixel data to a specified bitmap object.

Declaration

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

Parameters

NameType
ABitmapTBitmap
AColorsTRGBColors
ATopDownDIBBoolean

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

TdxCustomSmartImage.GetBitmapBits

dxCoreGraphics Unit