TcxRegion.IsEqual(TcxRegionHandle) Method
Identifies if two regions are equal in shape and size.
Declaration
function IsEqual(ARegionHandle: TcxRegionHandle): Boolean; overload;
Parameters
| Name | Type |
|---|---|
| ARegionHandle | TcxRegionHandle |
Returns
| Type |
|---|
| Boolean |
Remarks
The both overloaded IsEqual function variants return True if the current and specified regions are equal; otherwise, False. The first variant returns False when it accepts nil (in Delphi) or nullptr/NULL (in C++Builder).
The first overloaded function variant accepts another region as the ARegion parameter while the second variant accepts a handle to a region as the ARegionHandle parameter.
See Also