Back to Devexpress

TCustomdxComponentPrinter.Preview(Boolean,TBasedxReportLink) Method

vcl-dxpscore-dot-tcustomdxcomponentprinter-dot-preview-x28-system-dot-boolean-dxpscore-dot-tbasedxreportlink-x29.md

latest1.4 KB
Original Source

TCustomdxComponentPrinter.Preview(Boolean,TBasedxReportLink) Method

Activates the Print Preview dialog.

Declaration

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

Parameters

NameType
AModalBoolean
AReportLinkTBasedxReportLink

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

TCustomdxComponentPrinter.PreviewOptions

TCustomdxComponentPrinter.PreviewWindowDesigner

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit