## Rectangle::Truncate method


通过将指定的 [RectangleF](../../rectanglef/) 对象的位置信息和大小值截断为下一个更低的整数值，构造一个 [Rectangle](../) 对象。

```cpp
static Rectangle System::Drawing::Rectangle::Truncate(const RectangleF &rect)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| rect | const RectangleF\& | 要转换的 [RectangleF](../../rectanglef/) 对象 |

### ReturnValue

从 **rect** 构造的 [Rectangle](../) 对象

## 另见

* Class [Rectangle](../)
* Class [RectangleF](../../rectanglef/)
* Class [Rectangle](../)
* Namespace [System::Drawing](../../)
* Library [Aspose.Font for C++](../../../)
