CopyRTF very slow
Posted: Sun Apr 30, 2023 6:11 pm
Hi Sergey,
I'm using the latest version 21.3 of the rve.
It looks like CopyDef will automatically copy RVF, ANSI text, Unicode text, and RTF text from the rve selection. However, it was sometimes very slow to work. After some checking I found that it was the CopyRTF where things slowed down, usually when images were involved.
I first tried removing the rvoAutoCopyRTF option from the rve options in design time, but it seems to be ignored in runtime. So, I removed that option in my code anywhere I was calling CopyDef and that did work:
Could you check and see if removing the rvoAutoCopyRTF option in design time works for you? I tried it in 2 different rve's and I had to code around it in both.
Also, is it normal for CopyRTF to take a lot longer than other copy formats? At least when pictures are involved?
Thanks Sergey
Stan
I'm using the latest version 21.3 of the rve.
It looks like CopyDef will automatically copy RVF, ANSI text, Unicode text, and RTF text from the rve selection. However, it was sometimes very slow to work. After some checking I found that it was the CopyRTF where things slowed down, usually when images were involved.
I first tried removing the rvoAutoCopyRTF option from the rve options in design time, but it seems to be ignored in runtime. So, I removed that option in my code anywhere I was calling CopyDef and that did work:
Code: Select all
rv.Options := rv.Options - [rvoAutoCopyRTF];
Also, is it normal for CopyRTF to take a lot longer than other copy formats? At least when pictures are involved?
Thanks Sergey
Stan