[FRE11] How to save recognition result to variable or stream?

  • Last Post 24 September 2015
Robert Białas posted this 23 September 2015

Hello, i have some problems with exporting recognition result. I want to return result of OCR as XML shema but not creating the file with it, just put shema into variable or stream. Can i do it? If yes, then how?

Natalia Karaseva posted this 24 September 2015

Hello, Robert!

There is FRDocument::ExportToMemory in FineReader Engine 11. This method saves the document into memory by means of the IFileWriter object. You can find the code sample (in C#) in Developer's Help -> API Reference -> Supplementary Objects and Methods -> IFileWriter, section "Samples".