Hi Wilson,
The Rectangle class uses integers where the RectangleF class uses floats. To convert a Rectangle class to RectangleF, use the following in VB.NET:
MyRectangleF = RectangleF.op_Implicit(MyRectangle)
>How do i convert a Rectangle type to RectangleF
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi