This sample project shows how to use the SwissQRBill.NET library in a WinUI application. It demonstrates how to display a QR bill and how to print it, using the Win2D API.
-
Display: For display, a CanvasControl is used. The drawing is triggered by the Draw event.
-
Printing: For printing, Win2D's CanvasPrintDocument and .NET's PrintManager class are used.
The QR bill drawing is common to both output media. The code can be found in QrBillImage.cs
.