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 theEqualRgn
function.
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
TheEqualRgn
function compares the two regions whose handles you pass in thergnA
andrgnB
parameters and returnsTRUE
if they're equal orFALSE
if they're not.The two regions must have identical sizes, shapes, and locations to be considered equal. Any two empty regions are always equal.