Overview
OpenFin supports embedding inline PDF documents within a window.
Prerequisites
- Minimum Runtime version v9.61.37.46
- Plugins enabled in the Application Configuration (see below)
Implementation
Enable "plugins" in Application Config
Within your application config, you will need to add the plugin flag and set to true:
"startup_app": {
...
"plugins": true
}
Embed the PDF document within your web application
The following code is an example of how to embed the PDF document within a page:
<body>
<object data="https://www-bcf.usc.edu/~gareth/ISL/ISLR%20First%20Printing.pdf"
type="application/pdf" width="500px" height="500px" style="border: 1px solid red;">
</object>
</body>
Comments
0 comments
Please sign in to leave a comment.