|
|
|
SftPictureObject.LoadImageFromHBITMAP Method |
Loads an image from a bitmap handle as a GDI+ image.
Syntax
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); |
||
Delphi |
procedure object.LoadImageFromHBITMAP(hBitmap : Pointer, hPalette : Pointer); |
object
A SftPictureObject 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.
Comments
The LoadImageFromHBITMAP method loads an image from a bitmap handle as a GDI+ image.
The image object is owned by the tree control and will be deleted when it is no longer used.
See Also SftPictureObject Object | Object Hierarchy