Region.IsInfinite(Graphics) Method
Definition
Tests whether this Region has an infinite interior on the specified drawing surface.
public:
bool IsInfinite(System::Drawing::Graphics ^ g);
public bool IsInfinite (System.Drawing.Graphics g);
member this.IsInfinite : System.Drawing.Graphics -> bool
Public Function IsInfinite (g As Graphics) As Boolean
Parameters
Returns
true
if the interior of this Region is infinite when the transformation associated with g
is applied; otherwise, false
.
Exceptions
g
is null
.
Remarks
The current transformation of the graphics context g
is used to compute the region interior on the drawing surface.