J
Jacco
I wanted to see if a texts fits into a label and I created this code:
With lblOptionC1
Dim gfx As Graphics = picMainScreen.CreateGraphics
Dim FontSize As New System.Drawing.SizeF
FontSize = gfx.MeasureString(.Text, .Font)
But the line "Dim FontSize..." results in an error which says "Unsopported"
although the help says that it should work. Any clues?
Thanx!
Jacco
With lblOptionC1
Dim gfx As Graphics = picMainScreen.CreateGraphics
Dim FontSize As New System.Drawing.SizeF
FontSize = gfx.MeasureString(.Text, .Font)
But the line "Dim FontSize..." results in an error which says "Unsopported"
although the help says that it should work. Any clues?
Thanx!
Jacco