Skip to main content
All docs
V26.1
  • TdxReportControlExportEvent Type

    The procedural type for report export events in a TdxReportControl component.

    Declaration

    TdxReportControlExportEvent = procedure(ASender: TdxCustomReportControl; var AFileName: string; var ACancel: Boolean) of object;

    Parameters

    Name Type Description
    ASender TdxCustomReportControl

    Provides access to the Report control that raised the export event.

    Tip

    Cast the ASender parameter value to the TdxReportControl class to access all public API members.

    AFileName string

    The full absolute or relative path to the report export target.

    You can assign a path to the target file to this parameter.

    ACancel Boolean

    Specifies the status of the pending content export operation:

    False
    Default. The pending export operation is allowed.
    True
    The pending export operation is canceled. Use this option to prevent a predefined export operation or implement a custom report export operation.

    Remarks

    A report export event occurs every time a user attempts to export a report in the Report Control or Report Viewer UI (in any available format).

    Direct TdxReportControlExportEvent Type Reference

    The TdxCustomReportControl.OnExport event references the TdxReportControlExportEvent procedural type.

    See Also