Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当用户选择份数并打印此文档时,我想从流文档中打印份数 他选择的份数如何执行
如果您使用PrintDialog类来打印,Document那么您可以设置PrintDialog.PrintTicket.CopyCount为您想要的份数的值
PrintDialog
Document
PrintDialog.PrintTicket.CopyCount
PrintDialog dialog = new PrintDialog(); dialog.PrintTicket.CopyCount = NUMBEROFCOPIES; dialog.PrintDocument();