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.PrintReport(TComponent,Integer[]) Method

Invokes the Print dialog for the specified control.

#Declaration

Delphi
procedure PrintReport(AComponent: TComponent; const APageIndexes: array of Integer); overload;

#Parameters

Name Type
AComponent TComponent
APageIndexes Integer

#Remarks

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

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

See Also