Rectangle.Ceiling(RectangleF) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts the specified RectangleF structure to a Rectangle structure by rounding the RectangleF values to the next higher integer values.
public:
static System::Drawing::Rectangle Ceiling(System::Drawing::RectangleF value);
public static System.Drawing.Rectangle Ceiling (System.Drawing.RectangleF value);
static member Ceiling : System.Drawing.RectangleF -> System.Drawing.Rectangle
Public Shared Function Ceiling (value As RectangleF) As Rectangle
Parameters
- value
- RectangleF
The RectangleF structure to be converted.
Returns
Returns a Rectangle.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.