question

JeffinAtl-3170 avatar image
0 Votes"
JeffinAtl-3170 asked JeffinAtl-3170 commented

How to print contents of StackPanel

I have a StackPanel(P) which have child content, StackPanel(C) of which contents are three QR code images.
If click print button, the contents of P should be passed to the print dialog and shown in the preview.
How to do this?

dotnet-csharp
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Castorix31 avatar image
1 Vote"
Castorix31 answered JeffinAtl-3170 commented

StackPanel is WPF...
The method from this video works fine for me : WPF Print with Preview a Window or Control
(link to the code below the video...)


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Works fine!
Thank you!!

0 Votes 0 ·