Region.MakeEmpty Method ()

 

Initializes this Region to an empty interior.

Namespace:   System.Drawing
Assembly:  System.Drawing (in System.Drawing.dll)

member MakeEmpty : unit -> unit

The following code example demonstrates how to use the Region constructor and MakeEmpty method. This example is designed to be used with Windows Forms. Create a form and paste the following code into it. Call the FillEmptyRegion method in the form's Paint event-handling method, passing e as PaintEventArgs.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: