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