Loads an image from a bitmap handle as a GDI+ image.
| VB | object.LoadImageFromHBITMAP(ByVal hBitmap As LONG_PTR, ByVal hPalette As LONG_PTR) |
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 Nothing (0) 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