Please enable JavaScript to view this site.

Navigation: Advanced topics > Programming topics > PDF API

Runner.PDF.download

Scroll Prev Next More

 

Runner.PDF.download generates a PDF file and and prompts the file to download. It also determines the name of the file.

 

This method can be used in all JavaScript events.

Syntax

Runner.PDF.download ( {}, 'file.pdf', pageObj );

Arguments

params

PDF parameters. Can be empty. Use {} for default settings.

filename

the name of the file, for example, file.pdf.

pageObj

RunnerPage object. Available as a variable in all JavaScript events.

Return value

No return value

Example

Runner.PDF.download( {}, 'file.pdf',  pageObj );
return false;

See also:

Example: Creating and saving a PDF file to disk

PDF API: Runner.PDF.open

JavaScript API: RunnerPage object

JavaScript onload events

About PDF API

 

Created with Help+Manual 7 and styled with Premium Pack Version 3 © by EC Software