winform ReportViewer 的打印布局 各位哥姐们,winform中 怎么通过代码设置 ReportViewer 为打印布局模式啊?叩谢。分不多 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 水晶报表的打印布局是通过ReportViewer 的ReportDocument对象的PrintOptions属性设定的可以在ReportViewer 绑定报表前设定好 this.reportViewer1.RefreshReport(); //设置打印布局模式,显示物理页面大小 this.reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout); //缩放模式为百分比,以100%方式显示 this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.Percent; this.reportViewer1.ZoomPercent = 100; 内存指针分配,急啊 为什么button启用OnClientClick后,OnClick失效?? 我不懂C++,我如何才能摆脱不使用互操作, 而用纯C#实现互操作的功能呀??? c#中调用vc动态库参数传递问题!!! 关于C#中copy目录 上海某软件公司诚觅.net软件工程师 求获取AD某个组的所有用户 各位大哥请问这个strSql语句为什么不能执行?小妹在线等。。。。。 市面上有C#的书买吗?有那些可用的C#产品吗?如编译器 ? 小白求教 再谈enum-=运算[抛砖引玉] 提取网页XML内容
可以在ReportViewer 绑定报表前设定好
//设置打印布局模式,显示物理页面大小
this.reportViewer1.SetDisplayMode(Microsoft.Reporting.WinForms.DisplayMode.PrintLayout);
//缩放模式为百分比,以100%方式显示
this.reportViewer1.ZoomMode = Microsoft.Reporting.WinForms.ZoomMode.Percent;
this.reportViewer1.ZoomPercent = 100;