Vcl.Graphics.TMetafile.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TMetafile();

Properties

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

Description

Destroys an instance of a metafile object.

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

Destroy releases the image, which frees the image and the handle when the reference count on the metafile image is zero. Then Destroy calls the inherited Destroy.

See Also