質問

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