Refer the SfPdfViewer script file in Blazor application

11 Dec 20241 minute to read

  • You can include the script in your application by adding a CDN link. This provides a quick and efficient way to integrate the required functionality without needing to reference the script locally. For more details, please refer to the CDN Reference

  • You can also reference the script directly from the NuGet package included in your application. For more details, please refer to the Refer script from static web assets

  • If you wish to add custom scripts to your application, please refer to the Custom Resource Generator for generating the necessary resources. You need to include the pdfium.js and pdfium.wasm files in your application when referencing scripts externally.

To refer the script and pdfium files in your application, please refer the below image.
Scripts in Blazor SfPdfViewer