Show: Delphi C++
Display Preferences

Vcl.Graphics.TBitmap.ReleaseHandle

From XE2 API Documentation
Jump to: navigation, search

Delphi

function ReleaseHandle: HBITMAP;

C++

HBITMAP __fastcall ReleaseHandle(void);

Contents

Properties

Type Visibility Source Unit Parent
function public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TBitmap

Description

Returns the handle to the bitmap so that the TBitmap object no longer knows about the handle.

Use ReleaseHandle to disassociate the bitmap from the bitmap handle. Use it when you need to give a bitmap handle to a routine or object that will assume ownership (or destroy) the bitmap handle.

See Also

Code Examples


Personal tools
Previous Versions
Translations