Accusoft ImagXpress 13
hDIB Property
Description
Gets and sets an image from a device independent bitmap.
Property Type
Read-write property
Syntax
Visual Basic
Public Property hDIB As Long
Return Type
The handle to a DIB.
Remarks

Setting this property loads a DIB or Bitmap image. If the image is a Bitmap (HBITMAP), the image is converted to a DIB and stored as a DIB. ImagXpress will not take ownership of an HBITMAP no matter how the OwnDIB property is set.

If setting this property from another ImagXpress control, caution must be used and coordination must be ensured with the two ImagXpress's control's OwnDIB properties. One control should relinquish ownership of the DIB while the other takes control. A safer way would be to use the CopyDib method as the example below demonstrates.

Example
ImagXpress2.hDIB=ImagXpress1.CopyDIB
See Also

ImagXpress Object  | ImagXpress Members  | OwnDIB Property  | CopyDIB Method  | Loading  | Image category

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback