visual-studio SSRS 报告页面方向
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/1166184/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
SSRS Report Page Orientation
提问by Seth Spearman
I am creating SSRS reports in Visual Studio but I cannot find out how to set the Page Orientation in my new report from Portrait to Landscape.
我正在 Visual Studio 中创建 SSRS 报告,但我无法找到如何在我的新报告中将页面方向从纵向设置为横向。
I would think this would be in the Report/Report Properties settings but it is not there?
我认为这将在报告/报告属性设置中,但它不在那里?
How do I change the Page Orientation from Portrait to Landscape for my new report?
如何将新报告的页面方向从纵向更改为横向?
回答by lukehayler
It depends.
这取决于。
Are you using SSRS 2005 or 2008?
您使用的是 SSRS 2005 还是 2008?
For 2005: Right-click the white space area of the design surface, choose properties>Layout. Now switch the Page Width/Height values ([21 & 29.7] to [29.7 & 21]). Also, resize the design area to match the layout. i.e. pull the right edge to ~17cm and the bottom edge to about ~24.7cm (for portarit) or right edge to 24.7cm and bottom edge to 21cm (for landscape). For more see this article
对于 2005:右键单击设计图面的空白区域,选择属性>布局。现在切换页面宽度/高度值([21 & 29.7] 到 [29.7 & 21])。此外,调整设计区域的大小以匹配布局。即,将右边缘拉至~17cm,将底部边缘拉至约~24.7cm(对于肖像)或将右边缘拉至 24.7cm,将底部边缘拉至 21cm(对于横向)。更多请看这篇文章
For 2008: Right-click the white space area of the design surface, choose report properties>Page setup>choose landscape/Portrait.
对于 2008:右键单击设计图面的空白区域,选择报告属性>页面设置>选择横向/纵向。
回答by Pallavi
For Visual studio 2012- Open the report, In the top navigation, click "Report"
对于 Visual Studio 2012 - 打开报告,在顶部导航中,单击“报告”


Goto Report Properties. In the popup, change orientation to what you need it to be.
转到报告属性。在弹出窗口中,将方向更改为您需要的方向。


回答by Ammar
For 2012, Finding that report property was a pain for me because I could not see that "wrench" icon on the reporting bar (which can be open by right clicking on an empty area at the header and clicking "Reports".
对于 2012 年,找到该报告属性对我来说很痛苦,因为我看不到报告栏上的“扳手”图标(可以通过右键单击标题的空白区域并单击“报告”来打开它。
Once you get there, change the Orientation to landscape.
到达那里后,将方向更改为横向。
回答by gbn
You have page height/width and interactive height in report properties. You don't say "Portrait" or "Landscape".
您在报表属性中有页面高度/宽度和交互高度。你不会说“肖像”或“风景”。
It's not obvious, unfortunately, and this "Understanding Pagination in Reporting Services" only explains indirectly.
不幸的是,这并不明显,而且这个“了解 Reporting Services 中的分页”只是间接解释。
回答by CRM 2011 Blog team
Follow the below steps -
请按照以下步骤操作 -
- In Main Menu,Click on Reportin VS2008,
- Then click on Report Propertiesand
- in the Page Setuptab, Change Orientation to Landscape.
- 在主菜单中,点击VS2008 中的报告,
- 然后单击报告属性和
- 在页面设置选项卡中,将方向更改为横向。

