conversion issue

  • Thread starter Thread starter Vax
  • Start date Start date
Would this do it?

Dim szf As New SizeF(20, 20)
Dim sz As New Size(New Point(szf.Width, szf.Height))
 
I wouldn't have the overhead of creating a new point structure in there:

Code:
Dim sz As New Size(20, 20) 
Dim szf As New SizeF(sz.Width, sz.Height)
 
Back
Top