Gotho.BlazorPdf 2.0.0

dotnet add package Gotho.BlazorPdf --version 2.0.0
                    
NuGet\Install-Package Gotho.BlazorPdf -Version 2.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Gotho.BlazorPdf" Version="2.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gotho.BlazorPdf" Version="2.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Gotho.BlazorPdf" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Gotho.BlazorPdf --version 2.0.0
                    
#r "nuget: Gotho.BlazorPdf, 2.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Gotho.BlazorPdf@2.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Gotho.BlazorPdf&version=2.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Gotho.BlazorPdf&version=2.0.0
                    
Install as a Cake Tool

Blazor PDF

Blazor PDF is a simple yet powerful PDF viewer built for Blazor.

Prerequisites

In order to use this package, your project must target .NET Version 8.0, 9.0 or 10.0

Installation

Grab the package from nuget.org;

dotnet add package Gotho.BlazorPdf

Configure

Add the following to your application startup in Program.cs;

builder.Services.AddBlazorPdfViewer();

Update your App.razor file to import the required CSS;

<link href="_content/Gotho.BlazorPdf/blazorpdf.min.css" rel="stylesheet"/>

Then, add the namespace to your _Imports.razor file.

@using Gotho.BlazorPdf

You should now be fully setup to use the PdfViewer component in your code!

Usage & Examples

Please see the documentation site for detailed examples

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Gotho.BlazorPdf:

Package Downloads
Gotho.BlazorPdf.MudBlazor

A simple, yet powerful Blazor PDF viewer (MudBlazor version)

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.0.0 508 11/20/2025
2.0.0-rc1 418 11/20/2025
1.1.2 12,687 8/10/2025
1.1.1 3,336 7/12/2025
1.1.0 3,805 4/5/2025
1.1.0-rc.1 157 4/1/2025
1.1.0-alpha.3 154 4/1/2025
1.1.0-alpha.2 152 3/30/2025
1.1.0-alpha.1 142 3/30/2025
1.0.3 199 3/28/2025
1.0.3-alpha.1 139 3/27/2025
1.0.2 370 3/23/2025
1.0.2-alpha 303 3/23/2025
1.0.1 195 3/21/2025
1.0.0-beta 126 3/21/2025