TCustomdxComponentPrinter.OnInitializePrintDlgData Event
Enables you to customize the Print dialog‘s appearance and specify event handlers notifying about dialog visibility changes and end-user actions performed within this dialog.
Declaration
property OnInitializePrintDlgData: TdxPrintDlgDataEvent read; write;
Remarks
The Sender parameter provides access to the current component printer.
The AReportLink parameter provides access to a link whose report is being printed.
Use the APrintDlgData parameter to:
Specify the visibility and accessibility of UI elements within a printer dialog (APrintDlgData.ButtonsEnabled, APrintDlgData.OptionsVisible, APrintDlgData.ButtonsVisible, and APrintDlgData.OptionsEnabled).
Specify the printer dialog window’s caption (APrintDlgData.Title).
Modify the default values of a printer dialog’s entry fields (APrintDlgData.DialogData).
Enable file name and page range validations (APrintDlgData.IsCheckUserInput).
Assign event handlers notifying about printer dialog visibility changes, or clicking the Page Setup button (APrintDlgData.Events).
Refer to the TdxPrintDlgData type description to learn about APrintDlgData parameter values.