Region Constructor (RegionData^)

 

Initializes a new Region from the specified data.

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

public:
Region(
	RegionData^ rgnData
)

Parameters

rgnData
Type: System.Drawing.Drawing2D::RegionData^

A RegionData that defines the interior of the new Region.

Exception Condition
ArgumentNullException

rgnData is null.

This method creates a new Region with an interior defined by an existing Region. The rgnData parameter is an array that contains the definition of an existing Region.

.NET Framework
Available since 1.1
Return to top
Show: