VOOZH about

URL: https://www.nuget.org/packages/Avae.Printables.Docx/

⇱ NuGet Gallery | Avae.Printables.Docx 3.0.2




Avae.Printables.Docx 3.0.2

dotnet add package Avae.Printables.Docx --version 3.0.2
 
 
NuGet\Install-Package Avae.Printables.Docx -Version 3.0.2
 
 
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.Docx" Version="3.0.2" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Avae.Printables.Docx" Version="3.0.2" />
 
Directory.Packages.props
<PackageReference Include="Avae.Printables.Docx" />
 
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.Docx --version 3.0.2
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Avae.Printables.Docx, 3.0.2"
 
 
#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.Docx@3.0.2
 
 
#: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.Docx&version=3.0.2
 
Install as a Cake Addin
#tool nuget:?package=Avae.Printables.Docx&version=3.0.2
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Avae.Printables.Docx

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.Docx to Your Shared Project

Configuration

Enable Printables.

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

Android

protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
{
 return base.CustomizeAppBuilder(builder)
 .UsePrintables(this, this)
 .UseDocxPrintables()
 .WithInterFont()
 .UseReactiveUI();
}

iOS

protected override AppBuilder CustomizeAppBuilder(AppBuilder builder)
{
 return base.CustomizeAppBuilder(builder)
 .UsePrintables()
 .UseDocxPrintables()
 .WithInterFont()
 .UseReactiveUI();
}

Browser (Please add nuget package Avae.Printables to project to make sure printing.js in wwwroot folder)

private static Task Main(string[] args) => BuildAvaloniaApp()
 .WithInterFont()
 .StartBrowserAppAsync("out").ContinueWith(async t =>
 {
 await JSHost.ImportAsync("printing", "/printing.js");
 });

 public static AppBuilder BuildAvaloniaApp()
 => AppBuilder.Configure<App>()
 .UsePrintables()
 .UseDocxPrintables();

Linux (the following workflow is required)

https://github.com/lytico/GtkSharp.Workload

Example: Print MainView

using Avae.Printable;

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

Built With

This package builds upon the excellent work of:

AvaloniaUI

OpenXmlPowerTools.Core

License

Avae.Printables.Docx 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 Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-android34.0 net8.0-android34.0 is compatible.  net8.0-browser net8.0-browser was computed.  net8.0-browser1.0 net8.0-browser1.0 is compatible.  net8.0-gtk1.0 net8.0-gtk1.0 is compatible.  net8.0-ios net8.0-ios was computed.  net8.0-ios18.0 net8.0-ios18.0 is compatible.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-macos15.0 net8.0-macos15.0 is compatible.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net8.0-windows10.0.19041 net8.0-windows10.0.19041 is compatible.  net9.0 net9.0 was computed.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows 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.2 234 10/31/2025
3.0.1 241 10/30/2025
3.0.0 227 10/29/2025
1.0.0 222 10/28/2025