Region Constructor

Region Constructor

.NET Framework 1.1

Initializes a new Region object.

Overload List

Initializes a new Region object.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New()
[C#] public Region();
[C++] public: Region();
[JScript] public function Region();

Initializes a new Region object with the specified GraphicsPath object.

[Visual Basic] Public Sub New(GraphicsPath)
[C#] public Region(GraphicsPath);
[C++] public: Region(GraphicsPath*);
[JScript] public function Region(GraphicsPath);

Initializes a new Region object from the specified Rectangle structure.

Supported by the .NET Compact Framework.

[Visual Basic] Public Sub New(Rectangle)
[C#] public Region(Rectangle);
[C++] public: Region(Rectangle);
[JScript] public function Region(Rectangle);

Initializes a new Region object from the specified RectangleF structure.

[Visual Basic] Public Sub New(RectangleF)
[C#] public Region(RectangleF);
[C++] public: Region(RectangleF);
[JScript] public function Region(RectangleF);

Initializes a new Region object from the specified data.

[Visual Basic] Public Sub New(RegionData)
[C#] public Region(RegionData);
[C++] public: Region(RegionData*);
[JScript] public function Region(RegionData);

See Also

Region Class | Region Members | System.Drawing Namespace

Show:
© 2016 Microsoft