好的,所以当我发出
this.printform1.print();
相关代码
this.printForm1.DocumentName = "document";
this.printForm1.Form = this;
this.printForm1.PrintAction=System.Drawing.Printing.PrintAction.PrintToPreview;
this.printForm1.PrinterSettings =((System.Drawing.Printing.PrinterSettings)(resources.GetObject("printForm1.PrinterSettings")));
this.printForm1.PrintFileName = null;
命令 printpreview 并显示打印的文档,它从右侧修剪,边缘很大,我似乎找不到原因。
提前致谢