Vcl.Imaging.jpeg.TJPEGImage.Equals

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function Equals(Graphic: TGraphic): Boolean; override;

C++

virtual bool __fastcall Equals(Vcl::Graphics::TGraphic* Graphic)/* overload */;
inline bool __fastcall  Equals(System::TObject* Obj){ return Vcl::Graphics::TGraphic::Equals(Obj); }

Properties

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

Description

Compare graphic to another TGraphic object and return true if objects contain same graphic.

Vcl.Imaging.jpeg.TJPEGImage.Equals inherits from Vcl.Graphics.TGraphic.Equals. All content below this line refers to Vcl.Graphics.TGraphic.Equals.

Compare graphic to another TGraphic object and return true if objects contain same graphic.

Equals compares the contents of two TGraphic objects. Equals returns false if the TGraphic are different classes or if they contain different graphical data.

Code Examples