Skip to main content
All docs
V25.1
  • TdxReportPrintPreviewEvent Type

    The procedural type for report print preview generation events.

    Declaration

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

    Parameters

    Name Type Description
    ASender TdxReport

    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