Back to Devexpress

TdxReportPrintPreviewEvent Type

vcl-dxreport-36d3206e.md

latest1.1 KB
Original Source

TdxReportPrintPreviewEvent Type

The procedural type for report print preview generation events.

Declaration

delphi
TdxReportPrintPreviewEvent = procedure(ASender: TdxReport; const APDF: TBytes) of object;

Parameters

NameTypeDescription
ASenderTdxReport

Provides access to the Report component that raised the print preview generation event.

| | APDF | TBytes |

Returns the generated preview document in the PDF format (as an array of bytes).

|

Remarks

A print preview generation event occurs every time a TdxReport component prepares a report preview document (in the PDF format).

Direct TdxReportPrintPreviewEvent Type Reference

The TdxReport.OnPrintPreview event references the TdxReportPrintPreviewEvent procedural type.

See Also

TdxReportNotifyEvent Procedural Type

TdxReportExportEvent Procedural Type

dxReport Unit