Posted 24 November 2021, 9:33 pm EST
I need to use wj-pdf-viewer to show pdf file that store in database
how can i do it with C1WebApi PDF Services
Forums Home / Wijmo / General Discussion
Posted by: moshek on 24 November 2021, 9:33 pm EST
Posted 24 November 2021, 9:33 pm EST
I need to use wj-pdf-viewer to show pdf file that store in database
how can i do it with C1WebApi PDF Services
Posted 28 November 2021, 9:14 pm EST
Hello,
The PdfViewer is a lightweight viewer used to display PDFs without any third-party PDF reader or software and it is only compatible with C1WebApi PDF Services and can only display the PDF returned from this API. So, you will need to pass the PDF through this web API. The serviceUrl should be the URL of this web API. You can refer to the documentation below that demonstrates how to create a C1WebApi server:
https://www.grapecity.com/componentone/docs/webapi/online-webapi/PDFDocumentServices.html
Please refer to the following links for more information:
Wijmo PDF Viewer Sample:
https://www.grapecity.com/wijmo/demos/Viewer/PdfViewer/Overview/purejs
Wijmo PDF Viewer docs:
https://www.grapecity.com/wijmo/docs/Topics/Viewer/PDF-Viewer
Wijmo PDF Viewer API:
https://www.grapecity.com/wijmo/api/classes/wijmo_viewer.pdfviewer.html
Regards