Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Name Type
AHeader TBitmapInfoHeader
AWidth Integer
AHeight Integer
ATopDownDIB WordBool

#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