Back to Devexpress

dxGraphicIsEquals(TGraphic,TGraphic) Method

vcl-dxcoregraphics-dot-dxgraphicisequals-x28-a49af35c-x29.md

latest1.2 KB
Original Source

dxGraphicIsEquals(TGraphic,TGraphic) Method

Identifies if the content of two specified image containers is identical.

Declaration

delphi
function dxGraphicIsEquals(AGraphic1: TGraphic; AGraphic2: TGraphic): Boolean;

Parameters

NameType
AGraphic1TGraphic
AGraphic2TGraphic

Returns

Type
Boolean

Remarks

Call this global function to compare two TGraphic class descendant instances passed as the AGraphic1 and AGraphic2 parameters. The function returns True only if the compared containers:

  • Have the same type (for instance, TdxSmartImage);

  • Store images whose corresponding dimensions are equal;

  • Hold the matching image data.

Otherwise, the dxGraphicIsEquals function returns False.

See Also

dxCoreGraphics Unit