'Declaration Public Overloads Shared Function FromHBitmap( _ 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.FromHBitmap(hdc, hbitmap, hpalette)
For more information on DDBs and DIBs, refer to Using DIBs, DDBs, and the Clipboard.
For more information refer to RasterImage and GDI/GDI+.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2