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

TCustomdxComponentPrinter.FindLinkByComponent(TComponent,Boolean) Method

Returns the report link by the assigned component.

#Declaration

Delphi
function FindLinkByComponent(Value: TComponent; ACanCreate: Boolean = False): TBasedxReportLink;

#Parameters

Name Type
Value TComponent
ACanCreate Boolean

#Returns

Type
TBasedxReportLink

#Remarks

Every ExpressPrinting System report link is used to print a given component and thus each report link is assigned to a component. To find a report link assigned to a specific component, call the FindLinkByComponent function.

Value specifies the component being printed.

ACanCreate determines whether a report link that corresponds to the specified component is automatically created via the AddLink function, if this report link cannot be found. Pass True as ACanCreate to create the report link.

The FindLinkByComponent function returns a report link that corresponds to the specified component, if found. Otherwise, nil.

See Also