Accusoft.ImagXpressSdk Namespace > ImageX Class > FromHdib Method : FromHdib(ImagXpress,IntPtr) Method |
'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 )
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.