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

g
Graphics

A Graphics that represents a drawing surface.

Returns

true if the interior of this Region is infinite when the transformation associated with g is applied; otherwise, false.

Exceptions

Remarks

The current transformation of the graphics context g is used to compute the region interior on the drawing surface.

Applies to