Hi,
I have two request:
1 ) Could you explain me more about the following comment you have already explained and let me know which line should be repleaced. ( The message below the star line)
2) I would like to print the characters from right to left because of my native language ( arabic ), could you please give me a hand to solve it.
thanks in advance
***********************************************
Ok, I have found the problem. Apparently Microsoft has a bug in their e.Graphics.MeasureString function. To remidy this re-organize the primary if block like this:
If Asc(smallArray(0, x).Chars(0)) 0 And xmin < (e.MarginBounds.Right - 5) Then
Notice that I switched the if and elseif lines, that is because I was occasionally printing out a graphical representation for the char(0).
**********************************************************