|
|
|
SftPictureObject.BitmapHandle Property |
Defines the image object using a bitmap handle.
Syntax
VB.NET |
hBitmap = object.BitmapHandle As Integer |
||
VB |
hBitmap = object.BitmapHandle As OLE_HANDLE |
||
C#.NET |
int hBitmap = object.BitmapHandle; |
||
VC++ |
OLE_HANDLE hBitmap = object->BitmapHandle;
|
||
C |
HRESULT object->get_BitmapHandle(OLE_HANDLE* hBitmap); |
||
Delphi |
hBitmap := object.BitmapHandle : Cardinal; |
||
VB.NET |
object.BitmapHandle = hBitmap As Integer |
||
VB |
object.BitmapHandle = hBitmap As OLE_HANDLE |
||
C#.NET |
int object.BitmapHandle = hBitmap; |
||
VC++ |
OLE_HANDLE object->BitmapHandle = hBitmap;
|
||
C |
HRESULT object->put_BitmapHandle(OLE_HANDLE hBitmap); |
||
Delphi |
object.BitmapHandle := hBitmap : Cardinal; |
object
A SftPictureObject object.
hBitmap
Defines the image object using a bitmap handle. The bitmap handle can be NULL, in which case the SftPictureObject is cleared.
Comments
The BitmapHandle property defines the image object using a bitmap handle.
Typically, .NET applications use the NETImageObject property to define an image, C and C++ applications use BitmapHandle or Image, VB6 and other COM applications use the Picture property.
The SftPictureObject.Type property is set to sftTypeBitmap. The SftPictureObject.ActualHeight and SftPictureObject.ActualWidth properties reflect the image size.