PrinterSettings.PrintToFile 只能由 System.Windows.Forms.Printing.PrintDialog 类设置。当 System.Windows.Forms.Printing.PrintDialog.AllowPrintToFile 属性设置为 true 时,“打印到文件”选项仅出现在 System.Windows.Forms.Printing.PrintDialog 上。
希望能解决您的问题。
| 归档时间: |
|
| 查看次数: |
1258 次 |
| 最近记录: |