TCustomdxComponentPrinter.DoBeforeExportToPDF(TBasedxReportLink,string,TdxPSPDFReportExportOptions) Method
Fires the OnBeforeExportToPDF event.
Declaration
function DoBeforeExportToPDF(AReportLink: TBasedxReportLink; const AFileName: string; AOptions: TdxPSPDFReportExportOptions): Boolean; dynamic;
Parameters
Name | Type |
---|---|
AReportLink | TBasedxReportLink |
AFileName | string |
AOptions | TdxPSPDFReportExportOptions |
Returns
Type |
---|
Boolean |
Remarks
This function is called before a report generated by the link passed as the AReportLink parameter is exported to a PDF file. The AFileName and AOptions parameters correspond to the ExportToPDF method parameters, which specify the name and location of the resulting PDF file and initial option values for the PDF Export Options dialog, respectively.
TCustomdxComponentPrinter descendants can override the DoBeforeExportToPDF function to perform specific actions before/after executing the OnBeforeExportToPDF event handler.
See Also