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.CanBuildReport(TComponent) Method

Identifies if the report can be built for the specified control.

#Declaration

Delphi
function CanBuildReport(AComponent: TComponent): Boolean;

#Parameters

Name Type
AComponent TComponent

#Returns

Type
Boolean

#Remarks

This function supports the internal infrastructure and is not intended to be used directly from your code. Normally, the CanBuildReport function is called internally by an instance of the TdxCustomPrintingAction class descendant to identify if the corresponding printing command should be available to end-users. If the control passed as the AComponent parameter can be printed, the CanBuildReport function returns True; otherwise, False (i.e., if the specified control cannot be printed, its print-related commands are disabled).

CanBuildReport calls the CanBuildReport function of the report link associated with the AComponent control.

See Also