This method deletes the Bitmap object
[Visual Basic]   [ Boolean = ]imagekitcontrolname.DeleteBitmapObject (hBitmap As LONG_PTR)
[Visual C++]     [ BOOL = ]imagekitcontrolname.DeleteBitmapObject(LONG_PTR hBitmap)
[VB.NET]   [ Boolean = ]imagekitcontrolname.DeleteBitmapObject (hBitmap As Integer(x86) or Long(x64))
[C#.NET]   [ bool = ]imagekitcontrolname.DeleteBitmapObject (int(x86) or long(x64) hBitmap)

* (x86) refers to the 32 bit version, (x64) refers to the 64 bit version.

Parameters

Name Explanation
hBitmap The Bitmap handle

Return Value

Returns True (nonzero) if successful, otherwise returns False (0).

Explanation

The DeleteBitmapObject method deletes the Bitmap object. Use this method when the Bitmap handle retrieved by the BitmapFromDib method is no longer needed.

Differences from ImageKit7/8

  This method's argument type has changed

 

The ImageKit10 ActiveX is a product created by Newtone Corporation