Document from right to left.

General TRichView support forum. Please post your questions here
Post Reply
Jeffreysox

Document from right to left.

Post by Jeffreysox »

How can I create a document that is read from right to left, instead of the traditional left to right format, in RichView?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Document from right to left.

Post by Sergey Tkachenko »

Assign TRichView.BiDiMode = rvbdRightToLeft.
You can also assign BiDiMode of paragraphs of text fragments (using RVStyle.ParaStyles[].BiDiMode and RVStyle.TextStyles.BiDiMode). RichViewActions have actions to apply BiDiMode to selected paragraphs and text.
saeid2016
Posts: 72
Joined: Wed Mar 16, 2016 11:56 am

Re: Document from right to left.

Post by saeid2016 »

Sergey Tkachenko wrote: Mon Jul 08, 2024 10:19 am Assign TRichView.BiDiMode = rvbdRightToLeft.
You can also assign BiDiMode of paragraphs of text fragments (using RVStyle.ParaStyles[].BiDiMode and RVStyle.TextStyles.BiDiMode). RichViewActions have actions to apply BiDiMode to selected paragraphs and text.
Hi, I downloaded the trial version and installed it on Delphi 12. I set all of TRichViewEdit.BidiMode and RVStyle.ParaStyles[].BiDiMode and RVStyle.TextStyles.BiDiMode to rvbdRightToLeft, But it is still left to right. How to fix this?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Re: Document from right to left.

Post by Sergey Tkachenko »

Please send me a simple project reproducing the problem (to email richviewgmailcom)
saeid2016
Posts: 72
Joined: Wed Mar 16, 2016 11:56 am

Re: Document from right to left.

Post by saeid2016 »

Sergey Tkachenko wrote: Sat Nov 23, 2024 6:31 pm Please send me a simple project reproducing the problem (to email richviewgmailcom)
I sended the email.
Post Reply