Page 1 of 1

Document from right to left.

Posted: Sun Jul 07, 2024 10:15 pm
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?

Re: Document from right to left.

Posted: Mon Jul 08, 2024 10:19 am
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.