Important: The information in this document is obsolete and should not be used for new development.
EqualRgn
To determine whether two regions have identical sizes, shapes, and locations, use theEqualRgnfunction.
FUNCTION EqualRgn (rgnA,rgnB: RgnHandle):\xDDBoolean;
srcRgnA- A handle to the first of two regions to compare.
srcRgnB- A handle to the second of two regions to compare.
DESCRIPTION
TheEqualRgnfunction compares the two regions whose handles you pass in thergnAandrgnBparameters and returnsTRUEif they're equal orFALSEif they're not.The two regions must have identical sizes, shapes, and locations to be considered equal. Any two empty regions are always equal.