Link to home
Start Free TrialLog in
Avatar of Mr_Bach
Mr_Bach

asked on

Rotate text label.

Please help me!
How can I rotate text label 90 degree.

Thanks!
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

You can't achieve that with the standards label control.
Try some custom controls:

http://www.codeproject.com/KB/vb/vertical_label.aspx
Avatar of Mr_Bach
Mr_Bach

ASKER

It doesn't work
I can give you mine vertical label written in VB.Net 2.0. I believe it's not hart to translate it to C# if you need.
See the snippet. You may need to adjust the code because it draws the text from top to bottom.

You may also try:

http://simonmcc.blogspot.com/2005/09/vertical-label-component-in-c.html
Sorry: "hard to translate"
Avatar of Mr_Bach

ASKER

I have solved this problem by this one:
http://virtual.union.edu/~kerem/lps2/lps2test/VerticalLabel.dll
Ha-ha - I just noticed I didn't post the code. Funny. Anyway - you don't need it already. My apologies.
ASKER CERTIFIED SOLUTION
Avatar of Dmitry G
Dmitry G
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Wow! Thanks :)