TheBetterPdfViewer.MAUI
1.3.0
dotnet add package TheBetterPdfViewer.MAUI --version 1.3.0
NuGet\Install-Package TheBetterPdfViewer.MAUI -Version 1.3.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="TheBetterPdfViewer.MAUI" Version="1.3.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TheBetterPdfViewer.MAUI" Version="1.3.0" />
<PackageReference Include="TheBetterPdfViewer.MAUI" />
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 TheBetterPdfViewer.MAUI --version 1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TheBetterPdfViewer.MAUI, 1.3.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 TheBetterPdfViewer.MAUI@1.3.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=TheBetterPdfViewer.MAUI&version=1.3.0
#tool nuget:?package=TheBetterPdfViewer.MAUI&version=1.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
TheBetterPdfViewer.MAUI
A .NET MAUI PDF viewer control with native rendering and embedded-video playback.
Features
- Annotations (highlight, ink, sticky notes, free text, signatures)
- User bookmarks + document outline navigation
- Form fields (text, checkbox, radio, signature) with XFDF export
- Text search and selection
- Embedded video detection + playback — surfaces
/Movie,/Screen,/RichMedia, and/FileAttachmentannotations as well as document-level/Names /EmbeddedFilesentries. SetEnableInPageVideoOverlay="True"to mount tap-to-play ▶ buttons over each video's annotation rect on visible pages.
Platforms
- iOS 15+ (PDFKit + CoreGraphics CGPDFDocument)
- MacCatalyst 15+ (PDFKit + CoreGraphics CGPDFDocument)
- Android 33+ (PDFium)
- Windows (PDFium)
Embedded video usage
// MauiProgram.cs - this also registers CommunityToolkit.Maui.MediaElement.
builder.UseTheBetterPdfViewer();
// XAML / code-behind
viewer.EmbeddedVideosChanged += (s, e) =>
{
foreach (var video in e.Videos)
Console.WriteLine($"p.{video.PageNumber} {video.AnnotationKind} {video.FileName}");
};
// Option 1: open a video at the user's request via the modal player.
await viewer.PlayEmbeddedVideoAsync(viewer.EmbeddedVideos[0]);
// Option 2: let the viewer overlay tappable ▶ buttons over each video
// annotation. Tapping a button opens the same modal player.
viewer.EnableInPageVideoOverlay = true;
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0-android36.0 is compatible. net10.0-ios26.0 is compatible. net10.0-maccatalyst26.0 is compatible. net10.0-windows10.0.19041 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0-android36.0
- bblanchon.PDFium.Android (>= 146.0.7678)
- CommunityToolkit.Maui.MediaElement (>= 8.0.0)
- Microsoft.Maui.Controls (>= 10.0.40)
- PdfPig (>= 0.1.10)
-
net10.0-ios26.0
- CommunityToolkit.Maui.MediaElement (>= 8.0.0)
- Microsoft.Maui.Controls (>= 10.0.40)
- PdfPig (>= 0.1.10)
-
net10.0-maccatalyst26.0
- CommunityToolkit.Maui.MediaElement (>= 8.0.0)
- Microsoft.Maui.Controls (>= 10.0.40)
- PdfPig (>= 0.1.10)
-
net10.0-windows10.0.19041
- bblanchon.PDFium.Win32 (>= 146.0.7678)
- CommunityToolkit.Maui.MediaElement (>= 8.0.0)
- Microsoft.Maui.Controls (>= 10.0.40)
- PdfPig (>= 0.1.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.3.0 | 90 | 5/8/2026 |
| 1.1.9 | 102 | 4/29/2026 |
| 1.1.8 | 102 | 4/27/2026 |
| 1.1.7 | 106 | 4/24/2026 |
| 1.1.6 | 104 | 4/15/2026 |
| 1.1.5 | 108 | 3/31/2026 |
| 1.1.4 | 205 | 3/28/2026 |
| 1.1.3 | 101 | 3/26/2026 |
| 1.1.2 | 99 | 3/25/2026 |
| 1.1.1 | 105 | 3/25/2026 |
| 1.1.0 | 95 | 3/25/2026 |
| 1.0.9 | 100 | 3/24/2026 |
| 1.0.8 | 98 | 3/24/2026 |
| 1.0.7 | 104 | 3/23/2026 |
| 1.0.6 | 100 | 3/21/2026 |
| 1.0.5 | 100 | 3/19/2026 |
| 1.0.4 | 101 | 3/19/2026 |
| 1.0.3 | 99 | 3/19/2026 |
| 1.0.2 | 98 | 3/19/2026 |
| 1.0.1 | 103 | 3/19/2026 |
Loading failed