Home > Back-end >  Delphi7 opened the RTF slow (RTF document with pictures, with graphics)
Delphi7 opened the RTF slow (RTF document with pictures, with graphics)

Time:09-30

WDoc:=docapp1. Documents. The open (ExtractFilePath (Paramstr (0)) + 'ABC. Doc');
WDoc. SaveAs (ExtractFilePath (Paramstr (0)) + 'TMP \ 2. RTF', wdFormatRTF);
WDoc. Close;
Form2. RxRichEdit1. Lines. LoadFromFile (ExtractFilePath (Paramstr (0)) + 'TMP \ 2. RTF');
Form2. Show;


The above is what I use code...
Open without figure is no problem... RTF with figure is very slow...
Is there any way to solve the...

CodePudding user response:

Rit rich text, it is so, it can take figure data, such as reading and writing is slow (because the data),
  • Related