Free Support Forum -

Get last char position


I am trying to compute parsing estimation for large data processing, I am passing System.IO.Stream to GroupDocs.Parser and then reading by ReadBlock() from System.IO.TextReader returned from GroupDocs.Parser.GetText(). For estimation of progress I would need some pointer to tell me where approximately is the last read text located in the input stream passed to parser. Unfortunately this is not possible without some help from your side.

This can also be done without any changes to the API, just set the “Stream.Position” property to approximate location of last character returned after Read*() call.

As parsing of larger files can take very long time, having some option to estimate remaining time would be a huge help.

Jiri Vymazal

1 Like


We’re investigating this scenario at our end. Your investigation ticket ID is PARSERNET-1818. You’ll be notified in case of any progress update.