Skip to main content

dxGraphicIsEquals(TGraphic,TGraphic) Method

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

Declaration

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

Parameters

Name Type
AGraphic1 TGraphic
AGraphic2 TGraphic

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