When you want to preview a document to print, the following
classes are involved.
Here is an image showing an IlvPrintPreviewDialog
containing
an IlvPrintPreviewPanel
:
In this mode, the preview component displays several
pages at once, and you can scroll the pages using the scroll bar.
In this mode, you can also change the zoom level using the zoom level
combination box.
The second mode is the single page mode. In this mode,
you can see only one page at a time, but you can still use the scroll
bar to move from page to page.
The single page mode also allows you to zoom the page.
Using the zoom button (or clicking the view), you can switch from
a zoom mode where the page fits the component to the mode where the
page is at real size.
In most cases, you do not need to create instances and
manage these components by yourself. The high-level class
IlvPrintingController allows you to perform most of the printing actions
and settings.