Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- imagXpress
- An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
- hdib
- A handle to a DIB
- ownDib
- Controls whether the Dib is owned by the ImageX object and can be freed at will or if the user would like to maintain ownership of the Dib. If set to true then the user does not need to free the Hdib supplied as a parameter. If set to false then the user is responsible for freeing the Hdib and should call DisposeHdib to free the Hdib.
Return Value
An ImageX objectThe ImageX object implements the IDisposable interface and the application is required to call the Dispose method when the application is done with ImageX object, otherwise memory may leak.