Changes a LEADTOOLS Leadtools.RasterImage object to a Windows Device-Dependent Bitmap (DDB).
Public Overloads Shared Function ChangeToHBitmap( _
ByVal image As Leadtools.RasterImage, _
ByVal hdc As IntPtr _
) As IntPtr
The source image.
Handle to the device responsible for the conversion. The mapping mode of the device context must be MM_TEXT.
A handle to the device dependent bitmap (DDB) this method creates.
For more information on DDBs and DIBs, refer to Using DIBs, DDBs, and the Clipboard.
For more information refer to RasterImage and GDI/GDI+.
For an example, refer to ChangeToHBitmap(rasterimage,intptr).