Vcl.Graphics.TPicture.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TPicture();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.Graphics.pas
Vcl.Graphics.hpp
Vcl.Graphics TPicture

Description

Destroys an instance of a picture object.

Do not call Destroy directly in an application. Instead, call Free. Free verifies that the TPicture reference is not nil before it calls Destroy.

Destroy frees the graphic image it contains before calling the inherited Destroy.

See Also