AvaloniaPdfViewer 0.0.1-pre

This is a prerelease version of AvaloniaPdfViewer.
There is a newer prerelease version of this package available.
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                
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="AvaloniaPdfViewer" Version="0.0.1-pre" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AvaloniaPdfViewer --version 0.0.1-pre                
#r "nuget: AvaloniaPdfViewer, 0.0.1-pre"                
#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.
// 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

Avalonia PDF Viewer: A PDF viewer for Avalonia UI

GitHub License GitHub Actions Workflow Status Nuget NuGet Downloads

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.

⚖️ 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.0.2-pre 104 9/16/2024
0.0.1-pre 52 9/16/2024