Page 1 of 1

Speed and Formatting Questions

Posted: Mon Jul 02, 2007 12:26 am
by lkessler
I use TRichViewEdit in my application sometimes for very large documents, e.g. 20 MB or more. TRichViewEdit takes several seconds already to format these documents, and some operations have a noticeable delay.

Is ScaleRichView's TSRichViewEdit about as fast as TRichViewEdit, or will the extra things it does slow it down more than TRichViewEdit for large documents? If so, by how much? Twice as slow? 5 times as slow? 20 times as slow?

Does the whole document need to be Formatted in ScaleRichView like it does in RichView? Would it be possible to set it up so it just formats the pages being viewed rather than the whole document? That would really help for very large documents.

Louis

Posted: Mon Jul 02, 2007 4:48 am
by Sergey Tkachenko
Probably Ilya can answer better, but as I understand, time for formatting of ScaleRichView = time for formatting TRichView + time for repagination. The latter is much faster than formatting.

Posted: Mon Jul 02, 2007 8:59 am
by proxy3d
Time for page formatting is very small. Even for document having several hundreds pages, page formatting is instant (it takes less than one second).

Posted: Mon Jul 02, 2007 10:52 am
by Sergey Tkachenko
But the whole formatting of ScaleRichView is not faster than formatting of TRichViewEdit with the same document.