I want to print number of copies from a flow document as the user select number of copies and print this document no of copies he selected how to do that

有帮助吗?

解决方案

If you are using PrintDialog class to print your Document then you can set PrintDialog.PrintTicket.CopyCount to the value of number of copies you want

PrintDialog dialog = new PrintDialog();
dialog.PrintTicket.CopyCount = NUMBEROFCOPIES;
dialog.PrintDocument();
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top