This repository contains the demos of Syncfusion® Blazor PDF Viewer and Smart PDF Viewer Component samples. The following topics can help you to use the Syncfusion Blazor PDF Viewer and Smart PDF Viewer Components and run this application in your local.
- Requirements to run the demo
- How to run the demo
- PDF Viewer Components Catalog
- License
- Support and feedback
- System requirements
- NET 8 WebAssembly Workload / NET 9 WebAssembly Workload (For PDF Viewer Component)
- Nodejs Version : 10.24.* or above
Clone the repository. This repository contains Blazor Server demos and Blazor WASM demos project and solution files for .NET 8 and .NET 9. This repository has Common, Blazor Server Demos, and Blazor WASM Demos folders.
Blazor-Server-Demos
folder has solution and project files to run Blazor server demos.Blazor-WASM-Demos
folder has solution and project files to run Blazor WebAssembly demos.- The Common folder contains all the common files (i.e., samples, static web assets, resources) which are applicable for both Blazor Server demos and Blazor WASM demos.
-
Open the command prompt from the demo's directory.
-
Run the demo using the following command.
To run .NET 8 Blazor Server Demos project
dotnet run --project Blazor-Server-Demos/Blazor_Server_Demos_NET8.csproj
To run .NET 9 Blazor Server Demos project
dotnet run --project Blazor-Server-Demos/Blazor_Server_Demos_NET9.csproj
To run .NET 8 Blazor WASM Demos project
dotnet run --project Blazor-WASM-Demos/Blazor_WASM_Demos_NET8.csproj
To run .NET 9 Blazor WASM Demos project
dotnet run --project Blazor-WASM-Demos/Blazor_WASM_Demos_NET9.csproj
- Open the solution file using Visual Studio.
- Press
Ctrl + F5
to run the demo.
- Open the Visual Studio code from the demos directory where the project file is present.
Ensure the C# for Visual Studio Code extension is installed in your Visual Studio code before running the Blazor demos.
- Press
Ctrl + F5
to run the demo.
This repository focuses on PDF Viewer components with comprehensive examples showcasing various features and functionalities.
The Syncfusion® Blazor PDF Viewer component allows you to view, review, and print PDF files in web applications. It provides a rich set of features for working with PDF documents. Key Features:
- View PDF documents with zoom, pan, and navigate
- Built-in toolbar with essential features
- Annotation support (Text markup, Shape, Sticky notes, etc.)
- Form filling and form designer
- Digital signature support
- Customizable toolbar
- Print and download functionality
- Responsive design Available Samples:
- Default Functionalities
- Custom Toolbar
- Annotations Toolbar
- Form Designer
- Form Filling
- Handwritten Signature
- Digital Signature
- Document List
- Read Only
- Redaction
- Multi-Format Viewer Documentation: PDF Viewer Documentation
The Smart PDF Viewer is an AI-powered component that enhances the traditional PDF viewing experience with intelligent features powered by machine learning and AI technologies. Key Smart Features:
- Smart Summarizer: AI-powered document summarization
- Smart Fill: Intelligent form field auto-completion
- Smart Redact: Automated sensitive content detection and redaction Available Smart Samples:
- Smart Summarizer
- Smart Fill
- Smart Redact Documentation: Smart PDF Viewer Documentation
Note: Smart PDF Viewer is currently in preview mode and available only in Blazor Server applications.
To get started with the PDF Viewer component:
- Install the Syncfusion.Blazor.SfPdfViewer NuGet package
- Configure the PDF Viewer in your application
- Add the PDF Viewer component to your Blazor page
@page "/pdfviewer"
@using Syncfusion.Blazor.SfPdfViewer
<SfPdfViewer2 @ref="@PdfViewer"
DocumentPath="@DocumentPath"
Height="100%" Width="100%">
</SfPdfViewer2>
To get started with the Smart PDF Viewer component:
- Install the Syncfusion.Blazor.SmartPdfViewer NuGet package
- Configure AI services and dependencies
- Add the Smart PDF Viewer component with AI features enabled
@page "/smartpdfviewer"
@using Syncfusion.Blazor.SmartPdfViewer;
<SfSmartPdfViewer @ref="@SmartPdfViewer"
DocumentPath="@DocumentPath"
Height="100%" Width="100%">
</SfSmartPdfViewer>
Syncfusion Blazor Components is available under the Syncfusion Essential Studio program, and can be licensed either under the Syncfusion Community License Program or the Syncfusion commercial license. To be qualified for the Syncfusion Community License Program, you must have gross revenue of less than one (1) million U.S. dollars (USD 1,000,000.00) per year and have less than five (5) developers in your organization, and agree to be bound by Syncfusion's terms and conditions. Customers who do not qualify for the community license can contact sales@syncfusion.com for commercial licensing options. You may not use this product without first purchasing a Community License or a Commercial License, as well as agreeing to and complying with Syncfusion's license terms and conditions. The Syncfusion license that contains the terms and conditions can be found at https://www.syncfusion.com/content/downloads/syncfusion_license.pdf
- For any other queries, reach the Syncfusion support team or post the queries through the community forums.
- To renew the subscription, click here or contact our sales team at salessupport@syncfusion.com.
- Don't see what you need? Please request it in our feedback portal.