Sign in Join
FPDoc Onlineexperiment

TRasterImage.ReleaseBitmapHandle function

Member of TRasterImagepublicIn unit Graphics

Releases the handle in the shared image without freeing the BitmapHandle.

Declaration

pascal
function ReleaseBitmapHandle: HBITMAP

Function result

Value for the handle in the shared image before it is released.

Description

ReleaseBitmapHandle is a HBITMAP function used to release the handle for the shared image without freeing it. The return value contains the handle value in the shared image when its ReleaseHandle method is called.

Calls BitmapHandleNeeded to ensure that the BitmapHandle and optional MaskHandle are valid for the image type. Calls FreeCanvasContext to free the canvas context when the handle been has changed.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.