設定副本數量
using IronPrint;

// Print three copies of the document
PrintSettings printSettings = new PrintSettings();
printSettings.NumberOfCopies = 3;

Printer.Print("form-document.pdf", printSettings);
NuGet Download
PM > Install-Package IronPrint
設定副本數量

設定副本數量

指派NumberOfCopies屬性來告訴IronPrint在一次列印任務中應產生多少份相同的文件。 這樣可以消除在迴圈中呼叫列印方法的需要,並讓印表機驅動程式有效地處理整理。

請注意,在某些平台上,驅動程式可能不會遵循所請求的數量,預設為一份。 始終在您的目標環境中進行測試以確認多份支援。 對於高需求情境,例如列印會議講義或倉庫揀貨單,此屬性顯著簡化工作流程。

查看IronPrint的多份列印操作指南

準備好開始了嗎?

Nuget Downloads 49,171版本:2026.11剛剛發布