Create a PDF Embedded Viewer in your Application
When writing business applications you may need to view PDF files in your application. But this requires that the user has to make use of an external PDF viewer such as Adobe or use the OS’s default web-browser.
With PDF.js there is a chance to provide reliable and consistent PDF viewing capabilities in your application. This blog provides the way forward on how to integrate the PDF.js files into your own application.
As PDF.js uses many technologies provided by modern browsers only and does not work with old browsers like Internet Explorer 8.
PDF.js is licensed under the “Apache License, Version 2.0” that makes it possible to use it in your own application.
There two ways in which one might want to view a PDF-continuous page method or PDF- Page by page method.
So how do you take advantage of the browser in offline state to open PDF files directly within your application? Read on in my Blog to find out how to integrate both methods is described.
IDE - Delphi 10.2.3 IDE using the INDY third Party components.
Created in FMX - the code is portable to VCL.