## Size::Round method


Constructs a [Size](../) object from the specified [SizeF](../../sizef/) object by rounding the [SizeF](../../sizef/) object's width and height values to the nearest integer values.

```cpp
static Size System::Drawing::Size::Round(const SizeF &size)
```


| Parameter | Type | Description |
| --- | --- | --- |
| size | const SizeF\& | The [SizeF](../../sizef/) object to convert to construct [Size](../) object from |

### ReturnValue

A [Size](../) object constructed from **size**

## See Also

* Class [Size](../)
* Class [SizeF](../../sizef/)
* Class [Size](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.PDF for C++](../../../)
