Skip to main content
A newer version of this page is available. .

Print Preview with a Ribbon Toolbar

  • 2 minutes to read

This document describes the main UI elements of a Print Preview form featuring a ribbon toolbar.

Print Control

The PrintControl component is used to display a document’s pages in Print Preview.

The Print Control displays the following message if a report is not assigned to Print Preview (or an empty report containing no controls on any of its bands is assigned):

PrintPreviewElements_PrintControl

The Print Control provides scroll bars for navigating through document pages and the Find panel that enables text search within a document.

print-control-find-panel

Selecting a document’s content and right-clicking it invokes a context menu enabling you to print this content or copy it to the clipboard.

print-control-context-menu

Print Ribbon Controller

The PrintRibbonController component provides the Print Preview’s ribbon interface.

InvokingPrintPreview_1

The Print Ribbon Controller includes the following elements:

  • RibbonControl

    Provides the Print Preview’s ribbon interface containing various commands for manipulating a document.

  • RibbonStatusBar

    Provides a status bar for the ribbon-based Print Preview form.

    While a document’s pages are being created, it displays a Progress Bar which allows you to stop its creation at any time.

    It also displays the total number of pages in a document, the currently selected page’s number and enables you to change the zoom factor.

    Clicking the page information panel invokes a dialog window you can use to jump to a specific page number.

    preview-status-bar-go-to-page-dialog

Dock Manager

The DockManager component contains various panels that can be displayed for a document:

Image

Description

dock-manager-parameters-panel

A Parameters panel

When a report contains visible parameters, this panel enables you to pass custom values to these parameters and rebuild the document using these values (clicking Submit), as well as restore the parameter values to their defaults (clicking Reset).

dock-manager-document-map-panel

A Document Map

When a report has bookmarks assigned to its controls, this panel displays their hierarchy and allows you to navigate to the corresponding sections in a document.

dock-manager-thumbnails-panel

A Thumbnails panel

View document pages as thumbnails. Allows you to navigate to a page by selecting the corresponding thumbnail.

You can toggle these panels’ visibility using the corresponding buttons on the Print Preview toolbar.

See Also