Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftPictureObject.BitmapHandle Property

Defines the image object using a bitmap handle.

Syntax

Get

VB.NEThBitmap = object.BitmapHandle As Integer
VBhBitmap = object.BitmapHandle As OLE_HANDLE
C#.NETint hBitmap = object.BitmapHandle;
VC++OLE_HANDLE hBitmap = object->BitmapHandle;
OLE_HANDLE hBitmap = object->GetBitmapHandle();
CHRESULT object->get_BitmapHandle(OLE_HANDLE* hBitmap);

Put

VB.NETobject.BitmapHandle = hBitmap As Integer
VBobject.BitmapHandle = hBitmap As OLE_HANDLE
C#.NETint object.BitmapHandle = hBitmap;
VC++OLE_HANDLE object->BitmapHandle = hBitmap;
void object->PutBitmapHandle(OLE_HANDLE hBitmap);
CHRESULT object->put_BitmapHandle(OLE_HANDLE hBitmap);

object

A SftPictureObject object.

hBitmap

Defines the image object using a bitmap handle. The bitmap handle can be NULL, in which case the SftPictureObject object is cleared.

Comments

The BitmapHandle property defines the image object using a bitmap handle.

The SftPictureObject.Type property is set to sftTypeBitmap. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.

See Also SftPictureObject Object | Object Hierarchy


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