System::Drawing::Rectangle::Round method
Rectangle::Round method
Constructs a Rectangle object from the specified RectangleF object by rounding the RectangleF object’s location and size values to the nearest integer values.
static Rectangle System::Drawing::Rectangle::Round(const RectangleF &rect)
Parameter | Type | Description |
---|---|---|
rect | const RectangleF& | The RectangleF object to convert |
ReturnValue
The Rectangle object constructed from rect
See Also
- Class Rectangle
- Class RectangleF
- Class Rectangle
- Namespace System::Drawing
- Library Aspose.PUB for C++