## Rectangle_ class


Describes rectangle with position and size. This type should be allocated on stack and passed to functions by value or by reference. Never use [System::SmartPtr](../../../system/smartptr/) class to manage objects of this type.

```cpp
class Rectangle_
```

## Methods

| Method | Description |
| --- | --- |
| [get_Height](./get_height/)() const | Gets verticalal size. |
| [get_Size](./get_size/)() const | Gets rectangle size. |
| [get_Width](./get_width/)() const | Gets horizontal size. |
| [get_X](./get_x/)() const | Gets left position. |
| [get_Y](./get_y/)() const | Gets tops position. |
| [Rectangle_](./rectangle_/)(int, int, int, int) | Constructor. |
## See Also

* Class [Screen](../)
* Namespace [System::Windows::Forms](../../)
* Library [Aspose.Page for C++](../../../)
