Printing rotated text

  • Thread starter Thread starter Tull Clancey
  • Start date Start date
T

Tull Clancey

Does anyone have a solution for printing rotated text? I can't rely on
changing the printer orientation.

Thanks,
Tull.
 
Tull Clancey said:
Does anyone have a solution for printing rotated text? I can't rely on
changing the printer orientation.

Check out 'e.Graphics.RotateTransform'.
 
Tull Clancey said:
You're probably right, can you please ellaborate?

Inside the 'PrintDocument' object's 'PrintPage' event handler:

\\\
With e.Graphics
.TranslateTransform(...)
.RotateTransform(90)
.DrawString("Hello World!", Me.Font, Brushes.Blue, 0, 0)
End With
///
 
Check out the FormatFlags property of the StringFormat Class which can be
used with DrawString.
--
Dennis in Houston


Tull Clancey said:
You're probably right, can you please ellaborate?

Thanks,
Tull.
 
Back
Top