Configure an event to generate a PDF
Configure the
Generate PDF
method for the event to specify the output file and locale for the report.Prerequisites
- To configure an event to generate a PDF
- Add a button to trigger report generation.For more information, see Button.
- InProject view, select the button.
- InEvents, next toMouseClick event, select .
- Navigate to and expand the reports object, selectGenerate PDF, and then chooseSelect.
- InPropertiesunderInput arguments, inOutputPath, enter the target location for the report.For example, enter%APPLICATIONDIR%/Report.pdf, to generate aReport.pdffile in theApplicationFilesdirectory of the project.
- (optional) InProperties, inLocaleId, select the locale for the report.TIP: The locale determines the translation of text, units of measurement, and format of the report. If you do not enter a value inLocaleId, the report assumes the locale of the project.
PDF
pdf
Provide Feedback