JSON Specification of the PDF viewer API endpoints / Load, /RenderPdfPages, etc.

Hi,

We are evaluating the Syncfusion library. We plan to use it with Laravel, thus a PHP backend. For now, we get nowhere with it. It seems that we need to implement a few endpoints such as /Load, /RenderPdfPages, etc. in order to get it working. Do you have a specification for all the JSON that these endpoints should return?

We tried to load the PDF as a base 64 string but it does not seem to work. Even if we manage to get it working, do we have the ability to use the TextSearch, TextSelection features?



1 Reply

AA Akshaya Arivoli Syncfusion Team February 21, 2020 11:15 AM UTC

Hi Cyrille,  

Thank you for contacting Syncfusion support. 

At present we do not have support for PDF Viewer Web service in PHP. PDF Viewer control is both server and the client side oriented. PDF viewer control processes the PDF document in the server side(developed with .NET environment) and send the processed PDF data to the client using the Web service to render the PDF document and for further operations in PDF viewer. 

However, we can use our online web service link( in ASP.NET Core) to render the PDF documents. Refer to below links, 



We can also create the web service project in ASP.NET core, then we can host and use that link in serviceUrl property of the PDF Viewer. 


Please let us know if you have any concerns on this. 

Regards, 
Akshaya 


Loader.
Up arrow icon