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: 17522
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.
Post Reply