API:Vcl.Controls.TControlCanvas.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TControlCanvas();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TControlCanvas

Description

Destroys an instance of TCanvas.

Vcl.Controls.TControlCanvas.Destroy inherits from Vcl.Graphics.TCanvas.Destroy. All content below this line refers to Vcl.Graphics.TCanvas.Destroy.

Destroys an instance of TCanvas.

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TCanvas object is not nil and only then calls Destroy.

See Also