ReportPrintPDF

 

Save the report results as a PDF file.

 

void @ReportPrintPDF(string report_filename, string output_filename);

 

Parameters

string report_filename : File name of the report source

string output_filename : File name to save

 

Return Value

None

 

Example 1
@ReportSetTime(2024, 5, 9, 8, 0);

@ReportSave("test.rptx", "C:\\pdf\\test.pdf");


Description : Save the results of the test.rptx report file as test.pdf in the C:\pdf folder.

 

Example 2

@sprintf(buf, "C:\\pdf\\test_%04d%02d%02d.pdf", y, m, d);
@ReportPrintPDF("test.rptx", buf);

 

Description : Save the results of the test.rptx report file as test_yyymmdd.pdf in the C:\pdf folder.

 

Version information

Supported Version: 10.3.6.16

 

Related Items

@ReportPrint()

@ReportPrintMulti()

@ReportSave()

@ReportPrintPDF()

@ReportSetTime()

@ReportSetTimeMinListFrom()

@ReportSetTimeMinListTo()

@ReportSetTimeMultiFrom()

@ReportSetTimeMultiTo()

@ReportSetVar()

@ReportView()

@ReportCloseName()

@ReportCloseAll()