How do I display rotated text in a C # form application?

I am writing a C # form application and I want to draw a scale and write rotating values ​​underneath it, is there a way to do this?

+2


a source to share


1 answer


You will need to do a custom draw using the Graphics class. I assume you have an idea how to do this, but if it weren't for a completely different question related to overriding OnPaint, etc. Then you can use the Graphics RotateTransform method and draw the text.



Bob Powell's article on text rotation.

+3


a source







All Articles