Visual Basic (Declaration) | |
---|---|
Public Overloads Function ChangeToHBitmap( _ ByVal hdc As IntPtr _ ) As IntPtr |
Visual Basic (Usage) | Copy Code |
---|---|
|
Parameters
- hdc
- Handle to the device responsible for the conversion. The mapping mode of the device context must be MM_TEXT.
Return Value
A handle to the device dependent bitmap (DDB) this method creates.For an example, refer to ChangeToHBitmap.
This method results in only one copy of the image, and it invalidates this RasterImage object. You must call Dispose after calling this method.
For more information on DDBs and DIBs, refer to Using DIBs, DDBs, and the Clipboard.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family