Community

FRDocument.ExportToMemory how to export to memorystream with IFileWriter?

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

0

Comments

2 comments

  • Avatar
    Oksana Serdyuk

    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.

    0
    Comment actions Permalink
  • Avatar
    Orry Messer

    Is there are Java example of IFileWriter implementation?

    0
    Comment actions Permalink

Please sign in to leave a comment.