Avae.Printables.Xps 3.0.1

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

Avae.Printables.Xps

A crossplatform library for printing.

Features

Cross-Platform : Leverage APIs adapted for multiple environments.

MIT Licensed: Freely use, modify, and distribute under the permissive MIT License.

Getting Started

Follow these steps to integrate Avae.Printables into your Avalonia project.

Prerequisites

An Avalonia project set up with .NET.

Installation

Add Nuget Avae.Printables.Xps to Your Windows Project

Configuration

Enable Printables on windows only.

 using Avae.Printables;
 public static AppBuilder BuildAvaloniaApp()
        => AppBuilder.Configure<App>()
            .UsePrintables()
            .UseXpsPrintables()
            .UsePlatformDetect()
            .WithInterFont()
            .LogToTrace();

Example: Print

using Avae.Printable;

Printables.PrintAsync("C://Temp//test.xps");

Built With

This package builds upon the excellent work of:

AvaloniaUI

XpsToPdf

License

Avae.Printables.Xps is licensed under the MIT License.

Contributing

Contributions are welcome! Please submit issues or pull requests to the GitHub repository. Ensure your code follows the project�s coding standards.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows10.0.19041 is compatible.  net9.0-windows 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
3.0.1 195 10/30/2025
3.0.0 200 10/29/2025
1.0.1 189 10/28/2025
1.0.0 192 10/28/2025