Page 1 of 1

Preview DOCX in RIGHT-TO_LEFT MODAL

Posted: Wed Apr 17, 2019 8:02 am
by mazluta
hi
i use this line to view the DOCX file.

if OpenDialog1.Execute then
begin
DOCX.LoadFromFile(OpenDialog1.FileName);
AXWPreviewVcl1.Document := DOCX.Editor;
AXWPreviewVcl1.BiDiMode := bdRightToLeft;
AXWPreviewVcl1.Repaint;
end;

i want the file to view in RTL mode.
The BidiMode not helping :)

i didnt find any action that do it to all the document (or the preview component)
Thanks
Yossi