Skip to main content

TdxPrintingRepository.PreviewReport(TComponent) Method

Invokes the Print Preview dialog for the specified control.

Declaration

procedure PreviewReport(AComponent: TComponent);

Parameters

Name Type
AComponent TComponent

Remarks

This function supports the internal infrastructure and is not intended to be used directly from your code. Normally, the PreviewReport procedure is called internally by an instance of the TdxCustomShowPrintPreviewFormAction class descendant to display the Print Preview dialog for the corresponding DevExpress VCL control.

Calling the PreviewReport procedure has no effect if the CanBuildReport function returns False for the same control instance.

See Also