Skip to main content

TdxCompositionLinkItems.AddLink(TBasedxReportLink) Method

Creates a new TdxCompositionLinkItem instance for a specified report link within the collection.

Declaration

function AddLink(AReportLink: TBasedxReportLink): TdxCompositionLinkItem;

Parameters

Name Type
AReportLink TBasedxReportLink

Returns

Type
TdxCompositionLinkItem

Remarks

The AddLink method creates an item for a specified report link only if the report link can be included in the composition report link determined by the IsLinkComposable method. If the report link can be included in the composition report link, the method returns the TdxCompositionLinkItem object with the TdxCompositionLinkItem.ReportLink property assigned to a specified AReportLink. Otherwise, the AddLink method returns nil.

See Also