A crossplatform library for printing.
Cross-Platform : Leverage APIs adapted for multiple environments.
MIT Licensed: Freely use, modify, and distribute under the permissive MIT License.
Follow these steps to integrate Avae.Printables into your Avalonia project.
An Avalonia project set up with .NET.
Add Nuget Avae.Printables.Xps to Your Windows Project
Enable Printables on windows only.
using Avae.Printables;
public static AppBuilder BuildAvaloniaApp()
=> AppBuilder.Configure<App>()
.UsePrintables()
.UseXpsPrintables()
.UsePlatformDetect()
.WithInterFont()
.LogToTrace();
using Avae.Printable;
Printables.PrintAsync("C://Temp//test.xps");
This package builds upon the excellent work of:
AvaloniaUI
XpsToPdf
Avae.Printables.Xps is licensed under the MIT License.
Contributions are welcome! Please submit issues or pull requests to the GitHub repository. Ensure your code follows the project’s coding standards.