Gotho.BlazorPdf 1.1.1

dotnet add package Gotho.BlazorPdf --version 1.1.1
                    
NuGet\Install-Package Gotho.BlazorPdf -Version 1.1.1
                    
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="1.1.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Gotho.BlazorPdf" Version="1.1.1" />
                    
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 1.1.1
                    
#r "nuget: Gotho.BlazorPdf, 1.1.1"
                    
#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@1.1.1
                    
#: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=1.1.1
                    
Install as a Cake Addin
#tool nuget:?package=Gotho.BlazorPdf&version=1.1.1
                    
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 or 9.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 was computed.  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
1.1.1 160 7/12/2025
1.1.0 1,524 4/5/2025
1.1.0-rc.1 140 4/1/2025
1.1.0-alpha.3 137 4/1/2025
1.1.0-alpha.2 134 3/30/2025
1.1.0-alpha.1 127 3/30/2025
1.0.3 177 3/28/2025
1.0.3-alpha.1 117 3/27/2025
1.0.2 288 3/23/2025
1.0.2-alpha 243 3/23/2025
1.0.1 147 3/21/2025
1.0.0-beta 88 3/21/2025