Important: The information in this document is obsolete and should not be used for new development.
EqualRgnTo determine whether two regions have identical sizes, shapes, and locations, use the
FUNCTION EqualRgn (rgnA,rgnB: RgnHandle):\xDDBoolean;
- A handle to the first of two regions to compare.
- A handle to the second of two regions to compare.
EqualRgnfunction compares the two regions whose handles you pass in the
rgnBparameters and returns
TRUEif they're equal or
FALSEif they're not.
The two regions must have identical sizes, shapes, and locations to be considered equal. Any two empty regions are always equal.