Preview Dialog

The Preview dialog allows you to preview the material to be printed.
Figure 1: Preview dialog.
Press the Display Dialog button () in the toolbar above to display this dialog.

Toolbars

The Toolbars at the top of the Preview Dialog allow you to configure the dialog and previewed material in various ways.
Page Navigation Toolbar
The Page Navigation Toolbar allows you to navigate through the pages of the previewed material.
Preview Layout Toolbar
The Preview Layout Toolbar allows you to select the arrangement of the previewed pages. This toolbar contains four buttons:
  1. The Single Page button displays a single page at a time.
  2. The Single Row button displays a single row of pages (i.e. two side-by-side pages) at a time.
  3. The Single Column button displays all of the pages arranged in a single column.
  4. The Full Grid button displays all of the pages arranged in a grid.
Zoom Factor Toolbar
The Zoom Factor Toolbar allows you to control the preview zoom factor (i.e. magnification). The combo-spinner control allows a specific Zoom Percentage to be selected.  The Zoom To Fit Page button sets the Zoom Factor such that an entire page can be viewed without scrolling.  The Zoom To Fit Width button sets the Zoom Factor such that the entire page width can be viewed without horizontal scrolling.
Page Setup Toolbar
The Page Setup Toolbar allows you to specify the Page Orientation (portrait or landscape) and Page Margins.  This allows you to set these basic Page Setup options directly from the Preview Dialog -- without the need to display a Page Setup dialog.
Scale Factor Toolbar
The Scale Factor Toolbar allows you to control the scale factor (i.e. magnification) of the material being previewed.  The combo-spinner control allows a specific Scale Percentage to be selected.  The Scale To Fit Page button sets the Scale Factor such that material fits within a single page.  The Scale To Fit Width button sets the Scale Factor such that the material fits within a single page width-wise.  (NOTE: The Scale To Fit Page and Scale To Fit Width buttons are included only if the material being previewed supports these scaling-modes.)
Setup-Print Toolbar
The Setup-Print Toolbar contains buttons which allow you to display the Page Setup dialog, and to Print the previewed material.  Changes made on the Page Setup dialog are applied to the preview display when the Apply or OK button is pressed from the dialog.  The Print Button can be configured to display a Print Dialog, or to print the material without displaying a dialog.
Preview Dialog Toolbar
The Preview Dialog Toolbar contains buttons which configure the Preview Dialog.  The Size To Fit button sizes the dialog so that a page of the previewed material fits within it.  The Maximize button maximizes the dialog.  The Close button closes the dialog.
Auto-hide Toolbar
 
The Auto-hide Toolbar allows you to enable or disable Toolbar Autohide.  When autohide is enabled, the toolbars are automatically hidden when the mouse is outside of the toolbar container.  This maximizes the area of the dialog dedicated to displaying the previewed material.

The Preview Dialog provides a great deal of flexibility in the arrangment of the displayed toolbars.  You can choose to include a subset of the standard toolbars provided by the JPDF, and/or to augment these standard toolbars with ones you create.