Loads an image from a bitmap handle as a GDI+ image.
| VB.NET | object.LoadImageFromHBITMAP(ByVal hBitmap As Integer, ByVal hPalette As Integer) |
| VB | object.LoadImageFromHBITMAP(ByVal hBitmap As LONG_PTR, ByVal hPalette As LONG_PTR) |
| C#.NET | void object.LoadImageFromHBITMAP(int hBitmap, int hPalette); |
| VC++ | HRESULT object->LoadImageFromHBITMAP(LONG_PTR hBitmap, LONG_PTR hPalette); |
| C | HRESULT object->raw_LoadImageFromHBITMAP(LONG_PTR hBitmap, LONG_PTR hPalette); |
object
hBitmap
A bitmap handle, used to create a GDI+ image.
hPalette
A palette handle, used to create a GDI+ image. This value may be NULL/Nothing to omit the palette information.
The LoadImageFromHBITMAP method loads an image from a bitmap handle as a GDI+ image.
The image object is owned by the control and will be deleted when it is no longer used.
See Also SftPictureObject Object | Object Hierarchy