Returns the handle to the current DIB (Device Independent Bitmap).
Visual Basic |
---|
Public Function ToHdib( _ ByVal method As IX_TOHDIBMETHOD _ ) As Long |
- method
An IX_TOHDIBMETHOD value.Value Description IX_TOHDIBMETHOD_RETURNDUPLICATE Specifies that the DIB is to be duplicated, the user has the responsibility of calling GlobalFree() to clean up the resource. IX_TOHDIBMETHOD_TRANSFERINTERNALHDIB Specifies that the internal DIB is to be used, ImagXpress handles cleaning up the resource.
This method is intended for 32-bit environments.
Calling DeleteObject() will not successfully release the HDIB. |