ShellBrowser Delphi Components Documentation
|
Converts the given HBITMAP into a TBitmap.
class function BitmapFromHBitmap(pBmpHandle: HBITMAP; pWidth: Integer; pHeight: Integer; pBgColor: TColor = clNone): TBitmap;
Parameters |
Description |
pBmpHandle: HBITMAP |
The handle of the bitmap to be converted. |
pWidth: Integer |
The destination width of the TBitmap. |
pHeight: Integer |
The destination height of the TBitmap |
pBgColor: TColor = clNone |
An optional background color to be used when converting. |
A TBitmap that was created from the pBmpHandle.