Free Support Forum - aspose.com

Streams/Byte Arrays vs. Files

On a server, we want to merge data into a template. Ultimately, we'd like PDF output.

I realize that the template, the data source and the output can all be files, but it would be cleaner if we could use Byte Arrays or Stream objects, since we're not actually passing or returning files from the server.

Of the three roles -- template, data source and PDF output -- which, if any, can Aspose Words handle as Streams or Byte Arrays rather than files?

Thanks in advance,

Rick

Hi

<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Thanks for your inquiry. Sure you can open document from stream and save document to stream. I think the following article could be useful for you:

http://www.aspose.com/documentation/.net-components/aspose.words-for-.net/howto-load-and-save-a-document-to-database.html

Hope this helps. Please let me know if you need more assistance, I will be glad to help you.

Best regards.