开发者

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 i开发者_开发问答t,is there any way to do this?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜