Returns a new WIN32 HBITMAP handle containing a copy of the image in this object.
'Declaration
Public Function ToHbitmap( _
ByVal As Boolean _
) As IntPtr
'Usage
Dim instance As FormImage
Dim release As Boolean
Dim value As IntPtr
value = instance.ToHbitmap(release)
Parameters
- release
- Indicates whether this method should also release the image that this object contains. Set it to true if you want this method to delete the image and to false otherwise.
Return Value
A new WIN32 HBITMAP handle that contains a copy of this image.