FRDocument.ExportToMemory how to export to memorystream with IFileWriter?

  • 1K Views
  • Last Post 21 September 2016
Robert Klaij posted this 21 September 2016

I have a PDF FRDocument that i want to save as a byte[] in a database.

The only options i see with ExportToMemory is to a FileStream, is there any way to get ExportToMemory to export to a MemoryStream? And if possible is there a code sample of that somewhere that i can use?

Kind regards, Robert

Oksana Serdyuk posted this 21 September 2016

If you are using .NET, try to replace the object of FileStream type by MemoryStream in the FineReader Engine Help code snippet that shows IFileWriter implementation.

Close