Public Overloads Shared Function ChangeToHBitmap( _
ByVal image As 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).