How To…Export an Archive to Stream


“Is is possible to export an archive directly to a memory stream?”


Starting with ReportBuilder 9, it is possible to use the TppStreamDevice.OutputStream property to export a report directly to a memory stream.  Note that you will need to create and manage the string yourself once you take control of it.


Sample Delphi code: