How to rotate a written string with e.graphics ?

  • Thread starter Thread starter Gilbert Tordeur
  • Start date Start date
G

Gilbert Tordeur

Hello.

Context : Windows Form, VB 2008.

I am printing a document using a PrintDocument and e.Graphics.

As some columns are narrow I would like to print their titles vertically,
like in Excel with a rotation of 90°. I guess it is something related to
Graphics.RotateTransform and Graphics.TranslateTransform but I do not
understand anything in the documentation.

Thank you for your help,
Gilbert
 
Hello.

Context : Windows Form, VB 2008.

I am printing a document using a PrintDocument and e.Graphics.

As some columns are narrow I would like to print their titles vertically,
like in Excel with a rotation of 90°. I guess it is something related to
Graphics.RotateTransform and Graphics.TranslateTransform but I do not
understand anything in the documentation.

Thank you for your help,
Gilbert

Check out these documentations on MSDN:
http://msdn.microsoft.com/en-us/library/6a1d65f4.aspx
http://msdn.microsoft.com/en-us/library/a0z3f662.aspx


HTH,

Onur Güzel
 
Thank you,
Gilbert

"kimiraikkonen" <[email protected]> a écrit dans le message de (e-mail address removed)...
Hello.

Context : Windows Form, VB 2008.

I am printing a document using a PrintDocument and e.Graphics.

As some columns are narrow I would like to print their titles vertically,
like in Excel with a rotation of 90°. I guess it is something related to
Graphics.RotateTransform and Graphics.TranslateTransform but I do not
understand anything in the documentation.

Thank you for your help,
Gilbert

Check out these documentations on MSDN:
http://msdn.microsoft.com/en-us/library/6a1d65f4.aspx
http://msdn.microsoft.com/en-us/library/a0z3f662.aspx


HTH,

Onur Güzel
 
Back
Top