Accusoft.ImagXpress13.Net
FromHbitmap(ImagXpress,IntPtr,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 intptr which represents the bitmap handle.
An intptr which represents the palette handle.
Creates an ImageX object from the given Hbitmap object.
Syntax
'Declaration
 
Public Overloads Shared Function FromHbitmap( _
   ByVal imagXpress As ImagXpress, _
   ByVal Hbitmap As IntPtr, _
   ByVal Hpalette As IntPtr _
) As ImageX
'Usage
 
Dim imagXpress As ImagXpress
Dim Hbitmap As IntPtr
Dim Hpalette As IntPtr
Dim value As ImageX
 
value = ImageX.FromHbitmap(imagXpress, Hbitmap, Hpalette)
public static ImageX FromHbitmap( 
   ImagXpress imagXpress,
   IntPtr Hbitmap,
   IntPtr Hpalette
)
public: static ImageX* FromHbitmap( 
   ImagXpress* imagXpress,
   IntPtr Hbitmap,
   IntPtr Hpalette
) 
public:
static ImageX^ FromHbitmap( 
   ImagXpress^ imagXpress,
   IntPtr Hbitmap,
   IntPtr Hpalette
) 

Parameters

imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
Hbitmap
An intptr which represents the bitmap handle.
Hpalette
An intptr which represents the palette handle.

Return Value

The newly created 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

Reference

ImageX Class
ImageX Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback