API:Vcl.Direct2D.TDirect2DBrush.ReleaseHandle

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ReleaseHandle; override;

C++

DYNAMIC void __fastcall ReleaseHandle();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Direct2D.pas
Vcl.Direct2D.hpp
Vcl.Direct2D TDirect2DBrush

Description

Releases the allocated Direct2D handle.

Vcl.Direct2D.TDirect2DBrush.ReleaseHandle inherits from Vcl.Direct2D.TDirect2DGraphicsObject.ReleaseHandle. All content below this line refers to Vcl.Direct2D.TDirect2DGraphicsObject.ReleaseHandle.

Releases the allocated Direct2D handle.

ReleaseHandle is a protected method used in descendant classes to deallocate the associated Direct2D handle. ReleaseHandle must be implemented in descendant classes, since the actual handle differs from object to object.

See Also