From Language reference: “The optional width parameter specifies the width (in pixels) at which text should wrap…”
This code in the WebCanvas.Paint event will demonstrate this case. Am I missing something?
[code] g.ForeColor = &c000000
g.TextSize = 12
Dim s As String = “”
For j As Integer = 1 to 9
s = s+"abcdefg "
Next
g.DrawString s,10,10,100
[/code]