Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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