संपादित करें

इसके माध्यम से साझा किया गया


Region.IsEmpty(Graphics) Method

Definition

Tests whether this Region has an empty interior on the specified drawing surface.

public:
 bool IsEmpty(System::Drawing::Graphics ^ g);
public bool IsEmpty (System.Drawing.Graphics g);
member this.IsEmpty : System.Drawing.Graphics -> bool
Public Function IsEmpty (g As Graphics) As Boolean

Parameters

g
Graphics

A Graphics that represents a drawing surface.

Returns

true if the interior of this Region is empty 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