Show pdf in browser from database
Hi friends,
I need to show pdf file in a pdfviewer in browser itself using AngularJs,
i need to get response from webapi and my file is stored in database in bytes. I have been searching on the net but not finding any relevant solution to this.
Hussam BarouqaPosted Mar 28, 2019, 11:32 AM
Muthu KumarPosted Mar 25, 2019, 12:00 AM
Here is an working example for you.
https://www.pdftron.com/blog/angular/build-a-pdf-viewer-in-angularjs-and-pdf-js/
https://www.beyondjava.net/ngx-extended-pdf-viewer
Thanks,
Muthukumar. M
Rahul PrasadPosted Mar 21, 2019, 9:05 PM
Here is the tutorial for your reference:
https://www.e-iceblue.com/Tutorials/Spire.PDFViewer/Spire.PDFViewer-Program-Guide/How-to-use-Spire.PDFViewer-for-ASP.NET.html
To load a PDF file from stream, use LoadFromStream method.
Abhishek AgrawalPosted Mar 21, 2019, 7:17 PM
Mario ScheerenPosted Mar 21, 2019, 10:53 AM
I mean it's a basic FileDownload nothing to it.