Load an arabic DOCX files in RichTextBox that integrate with RadBooK

3 posts, 0 answers
  1. Mojtaba Madadkhani
    Mojtaba Madadkhani avatar
    11 posts
    Member since:
    Feb 2010

    Posted 04 Dec 2011 Link to this post

    Hi,
     I load an arabic DOCX files in RichTextBox that integrate with RadBook. 
    But when it loaded, it show all RTL Text in LTR Format. How i can fix it?
  2. Mojtaba Madadkhani
    Mojtaba Madadkhani avatar
    11 posts
    Member since:
    Feb 2010

    Posted 04 Dec 2011 Link to this post

    Hi

    if found the problem source.

    remove FlowDirection="LeftToRight" from RadBook!
  3. UI for WPF is Visual Studio 2017 Ready
  4. Iva Toteva
    Admin
    Iva Toteva avatar
    1319 posts

    Posted 07 Dec 2011 Link to this post

    Hi Mojtaba Madadkhani,

    You have guessed right, the FlowDirection property of RadBook and RadRichTextPageView must not be set.

    The page view control determines the flow direction of the text using other mechanisms in order to be able to show text in LTR and RTL languages in the same document. Setting this property interferes with the inner logic, hence the incorrect behavior.

    Removing the FlowDirection property should solve the issue.

    Greetings,
    Iva Toteva
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top