Accusoft.ImagXpress12.Net
FromHdib(ImagXpress,IntPtr,Boolean) Method
See Also  Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageX Class > FromHdib Method : FromHdib(ImagXpress,IntPtr,Boolean) Method




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.

Glossary Item Box

Creates an ImageX object from a handle to a DIB (Device Independent Bitmap).

Syntax

 
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 object

Remarks

The 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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.