Truncate()
Rectangle::Truncate(const RectangleF&) method
Constructs a Rectangle object from the specified RectangleF object by truncating the RectangleF object’s location and size values to the next lower integer values.
static Rectangle System::Drawing::Rectangle::Truncate(const RectangleF &rect)
Arguments
Parameter | Type | Description |
---|---|---|
rect | const RectangleF& | The RectangleF object to convert |
Return Value
The Rectangle object constructed from rect
See Also
- Class Rectangle
- Class RectangleF
- Namespace System::Drawing
- Library Aspose.Slides