I have a FormattedText item. I have the flowdirection set to RightToLeft, and I am not sure how it works. It changes my strings really inconsistantly.
I imagined that it would just take a string, and display it backwards (either by characters, or by words), but in testing it does wierd things.
==================================================
examples,
the string "90%", is displayed as "%90"
Why does the % sign go from the end to the start?
the string "12 34 56 this is my (string)"
is displayed as "(this is my (string 56 34 12"
why do the numbers go to the end, and one bracket goes to the beginning and switched direction?
the string "this is a string"
is displayed as "this is a string"
why does nothing happen in this case??
==================================================
my formattedText looks like this:
FormattedText sectionNum = new FormattedText(
sectNum,
CultureInfo.CurrentCulture,
FlowDirection.RightToLeft,
new Typeface("Verdana"),
14,
Brushes.Black);
context.DrawText(sectionNum, new Point(790 - 96, 20));
Anyone know what is going on? I need to be able to display each string so that it reads the same as LeftToRight, when set to RightToLeft.
Thanks!