Runner.PDF.open creates and opens PDF files. Files can be opened in the same browser tab or in a new one.
Note: Microsoft Edge and Internet Explorer do not support the file preview feature. Files are downloaded instead.
Syntax
Runner.PDF.open( {}, pageObj, window );
Arguments
params
PDF parameters. Can be empty. Use {} for default settings.
pageObj
RunnerPage object. Available as a variable in all JavaScript events.
window
an optional JavaScript Window object used for opening a PDF file in the current browser tab. If omitted, the file is opened in a new browser tab. To open the file in the current browser tab, pass window.
Return value
No return value
Example
// when a new browser tab is created
Runner.PDF.open( {}, pageObj );
//when the file is opened in the current browser tab
Runner.PDF.open( {}, pageObj, window );
See also:
•Example: Creating PDF from all selected records except the first one
•JavaScript API: RunnerPage object