trichview.support
Re: Text Extraction |
Author |
Message |
eugene |
Posted: 10/14/2004 13:52:22 Hello, you know Sergey, I take rtf file (it size = 140 Mb) with a lot of images there some text but not so much Despite my setting ignore images properties and my second attempt with your complex example the time readnig stream are the same = 28 seconds. I guess it is too much due to the file has a lot of images but a few text. "Sergey Tkachenko" <[email protected]> wrote: >1) Simple way: > Set rv.RTFReadProperties.IgnorePictures = True > If images will be ignored, reading will be much faster. > >2) More complex way: it's not documented, but RTF reader (TRVRTFReader, >RVRTF.pas) can be used without TRichView. >It's a component (inherited from TComponent), but it is not registered on >the Delphi Component Palette. >You can create it at run time, set its properties, assign OnNewText event, >and call ReadFromStream or ReadFromFile. > > > >> >> Hello, >> >> I want to use TRichView as a text extractor from rtf loaded into >TRichView. >> It is the most important thing to get the text and the quality of showing >> a document can be ignored. >> >> Please tell me which setting I should set to improve the performance and >> cutting down the convertion time. > > |
Powered by ABC Amber Outlook Express Converter