Skip to main content

TCustomdxComponentPrinter.Preview(Boolean,TBasedxReportLink) Method

Activates the Print Preview dialog.

Declaration

procedure Preview(AModal: Boolean = True; AReportLink: TBasedxReportLink = nil);

Parameters

Name Type
AModal Boolean
AReportLink TBasedxReportLink

Remarks

Call this method to display the Print Preview dialog on screen.

If AModal is True, then the dialog appears as a modal form.

The AReportLink parameter specifies the link to be previewed.

Call the PreviewExists function to determine whether the Print Preview window is active.

TouchScreen Support: End-users can zoom the report displayed in the Print Preview dialog using the zoom gesture.

See Also