Vcl.Imaging.jpeg.TJPEGImage.Destroy

From RAD Studio API Documentation
Jump to: navigation, search


Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TJPEGImage();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.Imaging.jpeg.pas
Vcl.Imaging.jpeg.hpp
Vcl.Imaging.jpeg TJPEGImage

Description

Destroys an instance of a jpeg image object.

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

Destroy handles the freeing of the internal bitmap image and decrements the reference count on the jpeg data source to which it was linked.

See Also