Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TBasedxReportLink.Preview(Boolean) Method

Invokes the Print Preview dialog.

#Declaration

Delphi
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.

See Also