In my last evaluation step before purchasing the product I tried to write a simple word file with right to left flow, and I could not find a property whish perform this task.
I do not want alignment to the right I want fully flow layout from right to left as the button in the word does.
Please answer me if you support that so I can purchase the product…
Generally, if you want to insert just a few lines of text in right-to-left mode, you should do the following:
DocumentBuilder builder = new DocumentBuilder(doc);
builder.ParagraphFormat.Bidi = true;
builder.Font.Bidi = true;
builder.Writeln("ﺵﺥﺩ");
builder.Writeln("ﺵﺥﺩ");
Run.Font.Bidi property sets the text direction in a run of text. Paragraph.ParagraphFormat.Bidi sets the ordering of runs in paragraph and also inverts the meaning of ParagraphAlignment.Left and ParagraphAlignment.Right of ParagraphFormat.
To set text direction to right-to-left for all text in an already existing document use the following code: