当前位置: 代码迷 >> .NET报表 >> 请教有哪位高手用过XtraReport报表吗
  详细解决方案

请教有哪位高手用过XtraReport报表吗

热度:3350   发布时间:2013-02-25 00:00:00.0
请问有谁用过XtraReport报表吗?
我做一个报表,横向显示,
已经将 PaperKind 属性设为 System.Drawing.Printing.PaperKind.A4Rotated了,
预览的时候是横向的,但打印的时候却是坚向打印,难道还要设置其他属性吗???求解。。。
------解决方案--------------------------------------------------------
C# 
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = System.Drawing.Printing.PaperKind.A4Rotated;
------解决方案--------------------------------------------------------
引用:
C# 
this.PageHeight = 827;
this.PageWidth = 1169;
this.PaperKind = System.Drawing.Printing.PaperKind.A4Rotated;



当将PaperKind设为A4Rotated时,
PageHeight 已经默认为827
PageWidth  已经默认为1169 的了

------解决方案--------------------------------------------------------
已解决。。。