You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Usage is as follows
ngAfterViewInit(){
this.PdfViewer.pdfSrc = this.url;
this.PdfViewer.refresh();
}
ngOnChanges()
{
if(refreshRequired){
this.PdfViewer.pdfSrc = this.url;
this.PdfViewer.refresh();
}
}
Thing is the pdf loads fine most of the time, but sometimes it gives the error - Invalid Pdf Structure
On checking the get request for the blob , it returns 200Ok
But the response has a Html page and the pdf does not load.
What is the solution to this?
The text was updated successfully, but these errors were encountered:
Usage is as follows
ngAfterViewInit(){
this.PdfViewer.pdfSrc = this.url;
this.PdfViewer.refresh();
}
ngOnChanges()
{
if(refreshRequired){
this.PdfViewer.pdfSrc = this.url;
this.PdfViewer.refresh();
}
}
Thing is the pdf loads fine most of the time, but sometimes it gives the error - Invalid Pdf Structure
On checking the get request for the blob , it returns 200Ok
But the response has a Html page and the pdf does not load.
What is the solution to this?
The text was updated successfully, but these errors were encountered: