This method deletes the Bitmap object
[C++Builder] [ bool =
]imagekitcontrolname->DeleteBitmapObject(HBITMAP
ABitmap)
[Delphi] [ Boolean =
]imagekitcontrolname.DeleteBitmapObject(ABitmap:
HBITMAP)
Parameters
Name | Explanation |
---|---|
ABitmap | The Bitmap handle |
Return Value
Returns True if successful, otherwise returns False.
Explanation
The DeleteBitmapObject method deletes the Bitmap object. Use this method when the Bitmap handle retrieved by the BitmapFromDib method is no longer needed.