Back to Devexpress

dxFillBitmapInfoHeader(TBitmapInfoHeader,Integer,Integer,WordBool) Method

vcl-dxcoregraphics-dot-dxfillbitmapinfoheader-x28-d2d07bd4-x29.md

latest1.5 KB
Original Source

dxFillBitmapInfoHeader(TBitmapInfoHeader,Integer,Integer,WordBool) Method

Returns the header information of a specified bitmap object.

Declaration

delphi
procedure dxFillBitmapInfoHeader(out AHeader: TBitmapInfoHeader; AWidth: Integer; AHeight: Integer; ATopDownDIB: WordBool);

Parameters

NameType
AHeaderTBitmapInfoHeader
AWidthInteger
AHeightInteger
ATopDownDIBWordBool

Remarks

This method obtains the header information from the bitmap object passed as the ABitmap parameter and returns this information as the AHeader parameter. The second overloaded variant allows you to obtain the header information for a bitmap with dimensions passed as the AWidth and AHeight parameters.

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.

Note

Both the variants set the biPlanes, biBitCount, and biCompression fields of the returned header object to 1 , 32 , and BI_RGB , respectively.

See Also

dxCoreGraphics Unit