문제

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