Hide

SftMask/OCX 7.0 - ActiveX Masked Edit Control

Display
Print

LoadImageFromHBITMAP Method, SftPictureObject Object

Loads an image from a bitmap handle as a GDI+ image.

Syntax

VB.NETobject.LoadImageFromHBITMAP(ByVal hBitmap As Integer, ByVal hPalette As Integer)
VBobject.LoadImageFromHBITMAP(ByVal hBitmap As LONG_PTR, ByVal hPalette As LONG_PTR)
C#.NETvoid object.LoadImageFromHBITMAP(int hBitmap, int hPalette);
VC++HRESULT object->LoadImageFromHBITMAP(LONG_PTR hBitmap, LONG_PTR hPalette);
CHRESULT object->raw_LoadImageFromHBITMAP(LONG_PTR hBitmap, LONG_PTR hPalette);

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 masked edit control and will be deleted when it is no longer used.

See Also SftPictureObject Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.