Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
'Declaration
Public Overloads Shared Function ChangeFromHBitmap( _ ByVal hdc As IntPtr, _ ByVal hbitmap As IntPtr, _ ByVal hpalette As IntPtr _ ) As RasterImage
'Usage
Dim hdc As IntPtr Dim hbitmap As IntPtr Dim hpalette As IntPtr Dim value As RasterImage value = RasterImageConverter.ChangeFromHBitmap(hdc, hbitmap, hpalette)
This method results in only one copy of the image, and it invalidates the DDB (hbitmap) handle.
For more information on DDBs and DIBs, refer to Using DIBs, DDBs, and the Clipboard.
For more information refer to RasterImage and GDI/GDI+.