简体   繁体   English

Dynamics AX 2012 SSRS报告页面大小

[英]Dynamics AX 2012 SSRS Report Page Size

I need to set the page size of the SSRS Report I'm currently doing to ** 我需要将当前正在执行的SSRS报告的页面大小设置为**

Portrait/Width = 8.5in/Height = 5.5in 纵向/宽度= 8.5英寸/高度= 5.5英寸

I've tried setting this up in the report properties but as per my observation, the moment the height becomes lower than the width, SSRS will automatically convert it to Landscape. 我尝试在报表属性中进行设置,但是据我观察,当高度变得小于宽度时,SSRS会自动将其转换为风景。

Any workaround to fix this would be a great help. 任何解决此问题的方法都将提供很大的帮助。

Thanks! 谢谢! :) :)

Here is workaround: 解决方法如下:

  1. Set in Visual Studio page width and height that you need. 在Visual Studio页面中设置所需的宽度和高度。
  2. Override preRunModifyContract method in controller class so: 在控制器类中重写preRunModifyContract方法,以便:

     protected void preRunModifyContract() { this.parmReportContract().parmPrintSettings().printLandscape(false); super(); } 

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM