Hi all,
I have the following code to display a text in vertical.
But I have a problem. The text is not displayed...
If I comment the line "e.Graphics.Transform = mx", the text is displayed.
Font drawFont = new Font("Arial", 16); Matrix mx = new Matrix();mx.Rotate(90f);
e.Graphics.Transform = mx;
e.Graphics.DrawString(
"toto", drawFont, Brushes.Black,0, 0,
new StringFormat());e.Graphics.ResetTransform();
Thanks,
Yves Teissier

Vertical text in a graphic context.
Gaurav Singh
Thanks,
That's work.
This code the way I use :
aGraphics.TranslateTransform((
float)(dX-dY), (float)(dX + dY));aGraphics.RotateTransform(-90);
Yves.
Stayron