Avalonia.Controls.PdfViewer 12.0.1

Prefix Reserved
dotnet add package Avalonia.Controls.PdfViewer --version 12.0.1
                    
NuGet\Install-Package Avalonia.Controls.PdfViewer -Version 12.0.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="Avalonia.Controls.PdfViewer" Version="12.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avalonia.Controls.PdfViewer" Version="12.0.1" />
                    
Directory.Packages.props
<PackageReference Include="Avalonia.Controls.PdfViewer" />
                    
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 Avalonia.Controls.PdfViewer --version 12.0.1
                    
#r "nuget: Avalonia.Controls.PdfViewer, 12.0.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 Avalonia.Controls.PdfViewer@12.0.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=Avalonia.Controls.PdfViewer&version=12.0.1
                    
Install as a Cake Addin
#tool nuget:?package=Avalonia.Controls.PdfViewer&version=12.0.1
                    
Install as a Cake Tool

Avalonia.Controls.PdfViewer

A PDF viewer control for Avalonia UI applications. Fast, accurate rendering with navigation, zoom, text selection and search, a full annotation toolset with undo and redo, form filling, bookmarks, printing and sharing, on desktop, mobile and the browser.

Documentation

Features

  • Consistent experience and features for Windows, macOS, Linux, iOS, Android and WebAssembly from one package.
  • Single page, continuous and two-page view modes with page virtualization for fast and efficient navigation and scrolling of large documents.
  • Page navigation, outline, internal and external links, zoom and fit modes, keyboard shortcuts, touch and trackpad gestures.
  • Text selection, copy, full-text search with highlighted results, page text extraction
  • Annotations: highlight, underline, strikeout, squiggly, redaction, freehand drawing, shapes, text boxes, sticky notes, links and rubber stamps, with undo and redo
  • Spec-compliant output that renders and stays editable in Acrobat, Preview and Chrome; save in place, save a copy or auto-save
  • Thumbnails, table of contents and user bookmarks in a expandable sidebar.
  • Native print and share on Windows, macOS, iOS and Android
  • Default (clean) and Fluent themes with light and dark palettes, an adaptive toolbar and a compact mobile layout.
  • Interactive form filling with keyboard navigation.
  • A combination of PDFium and bespoke implementation for robust and effective PDF specification support.

Licensing

Avalonia.Controls.PdfViewer is a commercial Avalonia component and included with Avalonia Pro.

For commercial terms, see the Avalonia Legal Center.

You can find more information on Avalonia Plus and Pro tiers here.

Dependencies

  • Avalonia
  • bblanchon.PDFium.* - PDFium native libraries, restored only for the platforms of the referencing target framework
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 was computed.  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-android36.0 is compatible.  net10.0-browser was computed.  net10.0-browser1.0 is compatible.  net10.0-ios was computed.  net10.0-ios26.0 is compatible.  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

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
12.0.1 82 10/20/2026
12.0.0 5,199 9/14/2026

## 12.0.1

- Desktop apps can target .NET 8 or later. iOS, Android and WebAssembly apps need .NET 10.
- Home and End jump to the first and last page. Cmd+Enter commits inline text editing on macOS and iOS.
- Rotated shapes resize correctly.
- Selecting an annotation no longer changes the colours and style of the next one you draw.
- Text boxes without a fill no longer turn black while typing.
- Fixed a crash after applying a redaction, and an error when closing a sticky note by placing a stamp.
- The table of contents follows the current page, search shows its progress, and annotation tools stay disabled until a document is open.
- Damaged or malicious PDFs are handled more safely: malformed files fail quickly instead of hanging, and link prompts cannot be spoofed.
- Redaction also removes annotations and form values that were only reachable through references from other objects.
- Updated to PDFium 157.