issues in SfRichTextBoxAdv in alignment right how set text to read from right to left

i useSfRichTextBoxAdv withFlowDirection right and SfRichTextRibbon withFlowDirection left .i bind it from html saved before it show good but when print or save or export the text isinverse.i attach screen shots

how set text to read from right to left

thanks
best regards

Attachment:screenshots_68a0b41b.rar


7 Replies

DB Dilli Babu Nandha Gopal Syncfusion Team August 14, 2018 10:12 AM UTC

Hi Customer, 
 
Thank you for contacting Syncfusion support.  

The FlowDirection property of the control is used to display the control and its elements in the mentioned flow. At present our SfRichTextBoxAdv does not supports the FlowDirection property.

However, our SfRichTextBoxAdv control supports the Right to left flow for the document contents like paragraph, table and list in Docx, Doc, RTF or XAML formats from v15.4.0.17. You can set the Right to left flow for the paragraph (similarly for table from table properties dialog) directly from the ribbon option.

Reference screenshot:
 
Could you please provide us the following details? So that we can analyze further in-line with your requirement and provide you the proper solution at the earliest. 
1. Do you need Right to left flow preservation in HTML format (.html files) import or export? 
2. What is the Syncfusion Essential Studio version you are using now? 

Regards, 
Dilli babu. 



AN ahmed naser August 14, 2018 10:22 AM UTC

thanks for replay
i use 15.1 version and i can't update now how do right flow for all content programmatic in code by C# after bind the SfRichTextBoxAdv 
thanks
best regards


DB Dilli Babu Nandha Gopal Syncfusion Team August 14, 2018 03:20 PM UTC

Hi Ahmed, 

Right to left implementation for SfRichTextBoxAdv involves major architectural changes in both SfRichTextBoxAdv and its dependent controls. So, we strongly recommended you to upgrade to Essential Studio v15.4.0.17 or latest version to use Right to left flow for the document contents like paragraph, table and list in Docx, Doc, RTF or XAML formats.            

Once upgrading, please use the following code example to perform right to left flow for the selection range. 
// After document loading.
if(richTextBoxAdv.Document != null)
{
                // Select all the contents.
                richTextBoxAdv.Selection.Select(richTextBoxAdv.Document.DocumentStart, richTextBoxAdv.Document.DocumentEnd);
                // Set the Bidirectional to true. i.e. Right to left flow.
                richTextBoxAdv.Selection.ParagraphFormat.Bidi = true;
}
 

Please let us know if you have any questions. 

Regards, 
Dilli babu. 



AN ahmed naser August 14, 2018 03:35 PM UTC

thanks for replay 
how i could update the Essential Studio to 15.4 and update the ddl in my project to this version
thanks
best regards


DB Dilli Babu Nandha Gopal Syncfusion Team August 15, 2018 05:43 AM UTC

Hi Ahmed, 


Regards, 
Dilli babu. 



AN ahmed naser August 16, 2018 08:17 AM UTC

Dilli
how update the ddl in my project to this version after setup Essential Studio 15.4v 
thanks
best regards



DB Dilli Babu Nandha Gopal Syncfusion Team August 16, 2018 12:05 PM UTC

Hi Ahmed, 

Please find the detailed explanation of project migration from one version to another version of Essential Studio in the following UG documentation link. 

Regards, 
Dilli babu. 


Loader.
Up arrow icon