## RectangleF::FromLTRB method


构造一个新的 [RectangleF](../) 对象，表示具有指定边缘位置的矩形。

```cpp
static RectangleF System::Drawing::RectangleF::FromLTRB(float left, float top, float right, float bottom)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| 左 | float | 矩形左边缘的 X 坐标 |
| 上 | float | 矩形上边缘的 Y 坐标 |
| 右 | float | 矩形右边缘的 X 坐标 |
| 下 | float | 矩形下边缘的 Y 坐标 |

### ReturnValue

一个 [RectangleF](../) 类的实例，表示指定的矩形

## 另见

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