Diahon.WinUI.Printing.Wpf
0.1.2-alpha
This is a prerelease version of Diahon.WinUI.Printing.Wpf.
dotnet add package Diahon.WinUI.Printing.Wpf --version 0.1.2-alpha
NuGet\Install-Package Diahon.WinUI.Printing.Wpf -Version 0.1.2-alpha
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="Diahon.WinUI.Printing.Wpf" Version="0.1.2-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Diahon.WinUI.Printing.Wpf --version 0.1.2-alpha
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Diahon.WinUI.Printing.Wpf, 0.1.2-alpha"
#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 Diahon.WinUI.Printing.Wpf as a Cake Addin
#addin nuget:?package=Diahon.WinUI.Printing.Wpf&version=0.1.2-alpha&prerelease
// Install Diahon.WinUI.Printing.Wpf as a Cake Tool
#tool nuget:?package=Diahon.WinUI.Printing.Wpf&version=0.1.2-alpha&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Diahon.WinUI.Printing.Wpf
Allows printing of a Wpf IDocumentPaginatorSource
using the modern Windows Print-Dialog / PrintManager
.
[!NOTE] Currently, preview is not implemented
Usage
Create a WpfPrintDocumentSource
.
WpfPrintDocumentSource source = new(
(options, details) => GetDocumentPaginatorSource()
);
Follow the Uwp Printing Guide but use your WpfPrintDocumentSource
instead of the WinUI PrintDocument
.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows10.0.22621 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows10.0.22621
- No dependencies.
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.1.2-alpha | 70 | 3/28/2024 |
0.1.1-alpha | 57 | 3/6/2024 |