Thanks a lot.
Now I have the following problem:
objGraphics.DrawString(tekst, objFont, objBrush,x1,y1);
puts my string on (x1,y1), but when I put
objGraphics.RotateTransform(30);
objGraphics.DrawString(tekst, objFont, objBrush,x1,y1);
the string is rotated, but the coördinates don't seem right anymore.
I've tried TranslateTransform with a few different arguments before
RotateTransform because I've seen this in examples, but I don't quite
understand what it does and I can't make it work right.
"Wiktor Zychla" <ie****@microsoft.com.no.spam> wrote in message
news:eE*************@TK2MSFTNGP11.phx.gbl...
I can only find ways to orientate text vertically or horizontally, but
I'd like to display a string in an angle of 30 or 45 degrees...
use RotateTransform method of a Graphics object.
Regards,
Wiktor