## Rectangle::set_Size method


Sets the width and height of the rectangle represented by the current object.

```cpp
void System::Drawing::Rectangle::set_Size(Size value)
```


| Parameter | Type | Description |
| --- | --- | --- |
| value | Size | An instance of [Size](../../size/) class specifying the width and height values to set |

## See Also

* Class [Size](../../size/)
* Class [Rectangle](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
