TdxPrintingRepository.CanBuildReport(TComponent) Method
Identifies if the report can be built for the specified control.
Declaration
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