Multipage Documents

<< Click to Display Table of Contents >>

Navigation:  Programming Techniques >

Multipage Documents

Previous pageReturn to chapter overviewNext page

With VPE you can create documents with an unlimited number of pages (only limited by available memory / disk space).

Normally, you will create an invisible VPE document by calling OpenDoc, and afterwards generate invisibly the report by inserting objects (like text, bitmaps, etc.) and adding pages with PageBreak. Then, after the report generation has finished, you will print it immediately, or show the Preview to the user.

VPE offers also a way to generate a report and let the user simultaneously scroll through the same document. This is very useful, if your report is very large or needs a lot of time to be generated.

The following sections describe, how this behavior can be implemented.