Accusoft.ImagXpress13.Net
FromHdib(ImagXpress,IntPtr) Method




An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
An handle to a DIB (Device Independent Bitmap).
Creates an ImageX object from the given hdib object.
Syntax
'Declaration
 
Public Overloads Shared Function FromHdib( _
   ByVal imagXpress As ImagXpress, _
   ByVal hdib As IntPtr _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim hdib As IntPtr
Dim value As ImageX
 
value = ImageX.FromHdib(imagXpress, hdib)
public static ImageX FromHdib( 
   ImagXpress imagXpress,
   IntPtr hdib
)
public: static ImageX* FromHdib( 
   ImagXpress* imagXpress,
   IntPtr hdib
) 
public:
static ImageX^ FromHdib( 
   ImagXpress^ imagXpress,
   IntPtr hdib
) 

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
An handle to a DIB (Device Independent Bitmap).

Return Value

The ImageX object that receives the given image.
Remarks

A copy of the original image is stored in the ImageX object.

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.

The user is responsible for freeing the Hdib and should call DisposeHdib to free the Hdib.

See Also

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback