Region::Equals Method (Region^, Graphics^)
.NET Framework (current version)
Namespace:
System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Return to top
Assembly: System.Drawing (in System.Drawing.dll)
Parameters
- region
-
Type:
System.Drawing::Region^
The Region to test.
- g
-
Type:
System.Drawing::Graphics^
A Graphics that represents a drawing surface.
Return Value
Type: System::Booleantrue if the interior of region is identical to the interior of this region when the transformation associated with the g parameter is applied; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | g or region is null. |
The current transformation of the graphics context g is used to compute the region interiors on the drawing surface.
.NET Framework
Available since 1.1
Available since 1.1
Show: