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

dxGetBitmapData(HBITMAP,TBitmap) Method

Returns a record populated with pixel data and image information by the specified bitmap handle.

#Declaration

Delphi
function dxGetBitmapData(ABitmapHandle: HBITMAP; out ABitmapData: TBitmap): Boolean;

#Parameters

Name Type
ABitmapHandle HBITMAP
ABitmapData TBitmap

#Returns

Type
Boolean

#Remarks

This function returns True if there is a bitmap with the handle passed as the ABitmapHandle parameter; otherwise, False. The dxGetBitmapData function returns image information and a pointer to pixel data as a tagBitmap record passed as the ABitmapData out-parameter if the specified handle corresponds to an existing bitmap.

See Also