How to reload PDFViewer control with new file and service url.

How to reload PDFViewer control with new file and service url.

1 Reply

KK Karthik Krishnaraj Syncfusion Team October 8, 2018 09:17 AM UTC

Hi Vishal, 

Greetings from Syncfusion, 

We can initialize the PDF viewer with PDF document using service URL. Please find the below KB link for the same. 

Service URL: 

New PDF Document: 

Note:  
·         You can also specify the document name and document path in the documentPath API during control initialization. 
·         You can load the PDF documents using the load API once the control is initialized. 
  • If the name of the PDF document is only passed as parameter in the load() or documentPath  API, the PDF document must be available in the folder which is specified in the Load action method in the controller.
 
Regards, 
Karthik. 


Loader.
Up arrow icon