Guest Vax Posted July 9, 2002 Posted July 9, 2002 what's a simple, fast way to convert a Size structure to a SizeF structure? Quote
Guest TheIrishCoder Posted July 11, 2002 Posted July 11, 2002 Would this do it? Dim szf As New SizeF(20, 20) Dim sz As New Size(New Point(szf.Width, szf.Height)) Quote
*Gurus* divil Posted July 11, 2002 *Gurus* Posted July 11, 2002 I wouldn't have the overhead of creating a new point structure in there: Dim sz As New Size(20, 20) Dim szf As New SizeF(sz.Width, sz.Height) Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.