I want to write vertical text like it is known from a simple chart's y-axis. I found the FlowDirection property which allows me to add the "ToptoBottom" direction but this does not change the text's behaviour.

Is it the only way to rotate the rendertarget by 90 degress, write the text and rotate it back? The problem here is that I also have to recalculate the points for the rotation matrix.

This seems a lot of work just for rotating text? Any better idea?

有帮助吗?

解决方案

Im not in front of my computer right now so bear with me. When you are creating the text format you can set the width of the bounding box of the text to the text font size and it should only write one letter per line, giving you vertical text effect that you want!

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top