User`s guide
13 Create a Report Program
13-16
Stream a Report
The DOM API supports two modes of appending content to a document:
• In-memory — Creates the document entirely in memory. In-memory is the default
mode.
• Streaming — Streaming mode writes objects to disk as they are appended to a
document. Streaming mode allows you to create large reports on systems with modest
memory.
To enable streaming mode, set the StreamOutput property of the Document object for
the report to true.
d = Document('MyDoc');
d.StreamOutput = true;
See Also
Classes
mlreportgen.dom.Document
Related Examples
• “Add Content to a Report” on page 13-11