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

TdxScaleFactor.Equals(TObject) Method

Compares two UI scaling factors.

#Declaration

Delphi
function Equals(Obj: TObject): Boolean; override;

#Parameters

Name Type
Obj TObject

#Returns

Type
Boolean

#Remarks

Call this function to compare the current scaling factor and a scaling factor passed as the Obj parameter. Two scaling factors are considered equal when multiplying them by calling the Apply or Revert function produces the same result.

The Equals function returns True if the cross products of the Numerator and Denominator property values of both scaling factors are equal; otherwise, False.

See Also