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

IdxPrinting.CanBuildReport(TComponent) Method

Identifies if the report link can build a report 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, CanBuildReport is called internally by the report link repository‘s CanBuildReport function to indicate that the specified DevExpress VCL control’s content can be printed.

This function returns True if the following conditions are met:

  • The report link is associated with a component printer (i.e., if the report link’s ComponentPrinter property is not set to nil);

  • A DevExpress VCL component passed as the AComponent parameter is the component associated with the report link (i.e., its Component property and the AComponent parameter have the same value).

Otherwise, the CanBuildReport function returns False.

See Also