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