Gets and sets an image from a device independent bitmap for 64-bit.
Read-write property
Visual Basic |
---|
Public Property hDIB64 As __int64 |
The handle to a DIB.
This property is intended for 64-bit environments; use this instead of the hDIB Property.
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.