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

TdxPrintingRepository.PreviewReport(TComponent) Method

Invokes the Print Preview dialog for the specified control.

#Declaration

Delphi
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