Preview DOCX in RIGHT-TO_LEFT MODAL

Questions and answers on how to use DOCXReadWrite
Post Reply
mazluta
Posts: 1
Joined: Wed Apr 17, 2019 7:43 am

Preview DOCX in RIGHT-TO_LEFT MODAL

Post 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
Post Reply