TdxReportControlPrintPreviewEvent Type
The procedural type for print preview generation events in a TdxReportControl component.
Declaration
TdxReportControlPrintPreviewEvent = procedure(ASender: TdxCustomReportControl; const APDF: TBytes) of object;
Parameters
| Name | Type | Description |
|---|---|---|
| ASender | TdxCustomReportControl | Provides access to the Report control that raised the notification event. Tip Cast the |
| APDF | TBytes | Returns the generated report preview document in the PDF format (as an array of bytes). |
Remarks
A print preview generation event occurs every time a TdxReportControl component prepares a report preview document (in the PDF format).
Direct TdxReportControlPrintPreviewEvent Type Reference
The TdxCustomReportControl.OnPrintPreview event references the TdxReportControlPrintPreviewEvent procedural type.
See Also