Rectangle.Size Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the size of this Rectangle.

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

public Size Size { get; set; }

Property Value

Type: System.Drawing.Size

A Size that represents the width and height of this Rectangle structure.

.NET Framework
Available since 1.1
Return to top