Skip to content

syncfusion/pdf-viewer-sdk-blazor-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Syncfusion® Blazor PDF Viewer SDK Demos

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

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.

Run the demo using .NET CLI

  • 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

Run the demo using Visual Studio

  • Open the solution file using Visual Studio.
  • Press Ctrl + F5 to run the demo.

Run the demo using Visual Studio code

  • 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.

PDF Viewer Components Catalog

This repository focuses on PDF Viewer components with comprehensive examples showcasing various features and functionalities.

PDF Viewer Component

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:


Smart PDF Viewer Component (Preview)

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:

Note: Smart PDF Viewer is currently in preview mode and available only in Blazor Server applications.

Getting Started

PDF Viewer

To get started with the PDF Viewer component:

  1. Install the Syncfusion.Blazor.SfPdfViewer NuGet package
  2. Configure the PDF Viewer in your application
  3. 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>

Smart PDF Viewer

To get started with the Smart PDF Viewer component:

  1. Install the Syncfusion.Blazor.SmartPdfViewer NuGet package
  2. Configure AI services and dependencies
  3. 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>

License

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

Support and feedback

See also

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •