Back to Devexpress

TdxReportExportEvent Type

vcl-dxreport-5e31369a.md

latest1.7 KB
Original Source

TdxReportExportEvent Type

The procedural type for report export events.

Declaration

delphi
TdxReportExportEvent = procedure(ASender: TdxReport; var AFileName: string; var ACancel: Boolean) of object;

Parameters

NameTypeDescription
ASenderTdxReport

Provides access to the report generator component that raised the event.

| | AFileName | string |

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

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

| | ACancel | Boolean |

Specifies the status of the pending file download operation:

False Default. The pending download operation is allowed.TrueThe pending download operation is canceled. Use this option to prevent a predefined file download operation or implement a custom report download operation. |

Remarks

A report file download event occurs every time a user attempts to export a report in the Report Viewer dialog (in any available format).

Direct TdxReportExportEvent Type Reference

The TdxReport.OnExport event references the TdxReportExportEvent procedural type.

See Also

TdxReportNotifyEvent Procedural Type

TdxReportPrintPreviewEvent Procedural Type

TdxDashboardControlExportEvent Procedural Type

dxReport Unit