Skip to main content

CreateFromHBitmap(HBITMAP) Constructor

Creates a Smart Image container and populates it with a TBitmap from the specified handle.

Declaration

constructor CreateFromHBitmap(ABitmap: HBITMAP); virtual;

Parameters

Name Type Description
ABitmap HBITMAP

A handle to the source bitmap.

Remarks

Call this constructor and pass a handle to the source bitmap as the ABitmap parameter to populate a newly created container with the bitmap’s content.

See Also