Converting RectangleF to Rectangle

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Is there any EASY way to convert RectangleF to a Rectangle object? Casting doesnt work, and it doesn't have a ToRectangle function or anything like that (although it should!

Thanks

Yaron
 
Hi,
Yaron said:
Hi,

Is there any EASY way to convert RectangleF to a Rectangle object? Casting
doesnt work, and it doesn't have a ToRectangle function or anything like
that (although it should!)

See static method Round on Rectangle, it takes a RectangleF and returns a
Rectangle.

HTH,
greetings
 
Back
Top