Main Content

Close Reports

The last step in creating a report with the DOM API is to close the report. A report must have content to produce an output file. Closing a report writes out any content that remains in memory and closes the report file. Use the close function.

d = Document("MyDoc");
append(d,"Hello World");
close(d);

See Also

Topics