Draw String - Right To Left (Arabic Language)

Jun 24, 2012 at 6:45 AM

Hi,

I am looking for the following stuff.

1. I want to write the string in RIGHT to LEFT direction. How to do it?

Thanks

 

 

 

Mar 15, 2014 at 4:32 PM
I saw this code somewhere and thought it might be helpful.
      FormattedText formattedText = new FormattedText(text, new CultureInfo("en-us"),/*<-fix the culture to yours*/
      FlowDirection.RightToLeft, font.typeface, font.Size, new SolidColorBrush(Colors.Black));