For what I searched so far, I could not find a way to preset the number of copies in a System.Windows.Controls.PrintDialog, which is the one used in WPF. I cannot fallback or use another one because I need the PrintVisual method that only this class offers (afaik) Unless there is another way, I'm thinking of doing a for loop and call the dialog.PrintVisual() method for the number of desired copies.I have not tested yet, but I'm quite sure it should work. My question: Is this the correct way of doing it?
You're looking for dialog.PrintTicket.CopyCount
.
Docs.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With