Previewing

The most high-profile and often-used form of report output is contained in the Print Preview form. The Print Preview form is launched automatically when the Print method of report component is called (and the DeviceType property has been set to ‘Screen’). The Print Preview form is pictured below.

The user can preview any page of the report from this form, zoom the page to different levels, and print the report to the printer.

While the Print Preview form provided with ReportBuilder looks and performs like a truly professional user-interface should, you may want to customize it to emulate the look and feel of the rest of your application. This customizing can be done by creating a special form that descends from the CustomPreviewer class and registering it as the ‘official’ print preview form. This process is fully described in the tutorials of the Developer’s Guide.