Pdf Viewer

Hello, I am developing a multi-featured pdf mega tool. I'm having trouble with the pdf viewer part. In the pdf viewer section, there are occasional stutters while scrolling. I couldn't get fluency like pdfium. I'm thinking of pdfium + syncfusion. How do you think I should do it?


1 Reply

VS Venkada Subramanian Durai Syncfusion Team December 29, 2025 08:55 AM UTC

Hi harun özgan,

Thank you for the update. Syncfusion Web PDF Viewer uses PDFium to retrieve PDF page images, text, and other related details. Could you please confirm the platform on which you intend to use the PDF Viewer control? This will allow us to share the appropriate sample implementation and user guide documentation.

 

For reference, we have attached a sample implementation that uses the Syncfusion JavaScript standalone PDF Viewer to display PDF documents. In this sample, the documentPath API is used to set the PDF document path, and the resourceUrl API is used to set the PDFium resources path.

 

Please review the attached sample and share your specific requirements so that we can assist you further and provide an accurate solution.
 

Code snippet:

 

// Render the PDF viewer control

var viewer = new ej.pdfviewer.PdfViewer({

    //set the PDF document path

    documentPath:window.location.origin +'/pdf-succinctly.pdf',

    //set the pdfium resource path

    resourceUrl:window.location.origin +'/ej2-pdfviewer-lib'

});

ej.pdfviewer.PdfViewer.Inject(ej.pdfviewer.Toolbar, ej.pdfviewer.Magnification, ej.pdfviewer.BookmarkView, ej.pdfviewer.ThumbnailView, ej.pdfviewer.TextSelection, ej.pdfviewer.TextSearch, ej.pdfviewer.Print, ej.pdfviewer.Navigation, ej.pdfviewer.LinkAnnotation, ej.pdfviewer.Annotation, ej.pdfviewer.FormFields, ej.pdfviewer.FormDesigner, ej.pdfviewer.PageOrganizer);

 

viewer.appendTo('#pdfViewer');

 

Getting started with JavaScript PDF Viewer control | Syncfusion


Regards,

Venkada Subramanian D


Attachment: JS_PdfViewer_b6f3b09.zip

Loader.
Up arrow icon