AvaloniaPdfViewer 0.0.1-pre
See the version list below for details.
dotnet add package AvaloniaPdfViewer --version 0.0.1-pre
NuGet\Install-Package AvaloniaPdfViewer -Version 0.0.1-pre
<PackageReference Include="AvaloniaPdfViewer" Version="0.0.1-pre" />
paket add AvaloniaPdfViewer --version 0.0.1-pre
#r "nuget: AvaloniaPdfViewer, 0.0.1-pre"
// Install AvaloniaPdfViewer as a Cake Addin #addin nuget:?package=AvaloniaPdfViewer&version=0.0.1-pre&prerelease // Install AvaloniaPdfViewer as a Cake Tool #tool nuget:?package=AvaloniaPdfViewer&version=0.0.1-pre&prerelease
Avalonia PDF Viewer: A PDF viewer for Avalonia UI
Avalonia PDF Viewer in an Avalonia UI control for viewing PDF files.
✅ Features
- Cross-platform (Windows, macOS, Linux)
- PDF rendering using PDFium and SkiaSharp.
- Zooming and panning
- Page navigation
- Thumbnail view
🚀 Getting Started
Install the AvaloniaPdfViewer NuGet package.
dotnet add package AvaloniaPdfViewer
In your XAML file, add the following namespace:
xmlns:avaloniaPdfViewer="clr-namespace:AvaloniaPdfViewer;assembly=AvaloniaPdfViewer"
Add the PdfViewer
control to your XAML file.
<avaloniaPdfViewer:PdfViewer Source="{Binding FilePath}"/>
❤️ Attribution
This library is built on top of these great open source projects.
- Avalonia (cross-platform UI framework for dotnet)
- PdfToImage (A .NET library to render PDF files into images.)
- material-design-icons (Google font icons)
⚖️ License
Avalonia PDF Viewer is licensed under the MIT License - see the LICENSE.md file for details.
HOWEVER, this project uses dependencies that are licensed under other licenses. Please check the licenses of the dependencies listed above before using this project.
🙁 Limitations
This control works by rendering the PDF pages into images. This means that features like text selection, search, and form filling are not and will never be supported.
Product | Versions 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. |
-
net8.0
- Avalonia (>= 11.1.3)
- Avalonia.ReactiveUI (>= 11.1.3)
- Avalonia.Skia (>= 11.1.3)
- PDFtoImage (>= 4.1.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.