C# 打印,不显示打印进度对话框
C#打印,不显示打印进度的对话框
PrintDocument pd = new PrintDocument(); //隐藏 对话框 PrintController printController = new StandardPrintController(); pd.PrintController = printController; //创建打印画布 Graphics g = pd.PrinterSettings.CreateMeasurementGraphics(); g.DrawImage(image,0,0); pd.Print();