TBasedxReportLink.Preview(Boolean) Method
Invokes the Print Preview dialog.
Declaration
procedure Preview(Modal: Boolean = True); virtual;
Parameters
Name | Type |
---|---|
Modal | Boolean |
Remarks
Call this procedure to invoke the Print Preview dialog as a modal or non-modal form depending on the value passed as the Modal parameter.
If a component printer contains the report link, the Preview procedure sets it as the current link and calls the component printer’s Preview procedure passing the Modal value as a parameter. If the ComponentPrinter property is set to nil (i.e., the report link does not belong to a component printer), calling the Preview procedure has no effect.
The Preview procedure is called internally by the PageSetup function if an end-user clicks the “Print Preview…” button on the Page Setup dialog.
TouchScreen Support: End-users can zoom the report displayed in the Print Preview window using the zoom gesture.