ImageEn, unit iexBitmaps

TIEDibBitmap.AllocateBits

TIEDibBitmap.AllocateBits

Declaration

function AllocateBits(BmpWidth, BmpHeight, BmpBitCount: dword): boolean;

Description

Allocates a new windows DIB section of the specified size and bitcount.
BmpBitCount can be 1 or 24.
Returns True on success.