Skip to main content

dxGetBitmapData(HBITMAP,TBitmap) Method

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

Declaration

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