lajoo
lajoo

Reputation: 150

How to output a rotated text in C# form application?

I'm writing a c# form application and i want to draw a scale and write some rotated values under it,is there any way to do this?

Upvotes: 2

Views: 399

Answers (1)

Josh
Josh

Reputation: 69282

You will need to custom draw using the Graphics class. I assume you have some idea how to do that but if not that's a whole other question on its own involving OnPaint overrides and such. You can then use the Graphics class's RotateTransform method and draw the text.

A Bob Powell article about text rotation.

Upvotes: 3

Related Questions