Region::Equals method (gdiplusheaders.h)

The Region::Equals method determines whether this region is equal to a specified region.

Syntax

BOOL Equals(
  [in] const Region   *region,
  [in] const Graphics *g
);

Parameters

[in] region

Type: const Region*

Pointer to a Region object to test against this Region object.

[in] g

Type: const Graphics*

Pointer to a Graphics object that contains the world and page transformations required to calculate the device coordinates of this region and the region that is specified by the region parameter.

Return value

Type: BOOL

If this region is identical to the specified region, this method returns TRUE; otherwise, it returns FALSE.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header gdiplusheaders.h (include Gdiplus.h)
Library Gdiplus.lib
DLL Gdiplus.dll

See also

Graphics

Rect

Region