سؤال

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