Click here to Skip to main content
16,019,618 members
Please Sign up or sign in to vote.
2.33/5 (2 votes)
See more:
I'm developing windows application.I want a label text in vertical,when the page is loads it should be vertical.
Posted

1 solution

If you don't have any problem with Label Text Angle, Then here is the simple way to do it.

Just Add '\n' after each character in the Text...
Sample Given Below...

C#
this.Label.Text = "Y\nO\nU\nR\n \nT\nE\nX\nT";


OR You may check this Link
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900