C# crystal reports与Visual Studio 2010 A5页面定向问题

C# crystal reports与Visual Studio 2010 A5页面定向问题,c#,visual-studio-2010,crystal-reports,crystal-reports-2010,C#,Visual Studio 2010,Crystal Reports,Crystal Reports 2010,我有一份报告需要以8“*5.5”的纵向格式导出为PDF格式。现在在Crystal Reports 13(VS2010)中,当我选择页面大小为A5,方向为纵向时,它仍然以横向打印。我试着用上面的维度创建用户定义的页面大小,它会自动选择横向 这个问题的解决方案是什么?您也可以在实际设置ReportViewer报表时尝试从代码隐藏设置页面方向 ReportDocument rpt = new WhateverthenameofReport(); rpt.ReportDefinition.Section

我有一份报告需要以8“*5.5”的纵向格式导出为PDF格式。现在在Crystal Reports 13(VS2010)中,当我选择页面大小为A5,方向为纵向时,它仍然以横向打印。我试着用上面的维度创建用户定义的页面大小,它会自动选择横向


这个问题的解决方案是什么?

您也可以在实际设置ReportViewer报表时尝试从代码隐藏设置页面方向

ReportDocument rpt = new WhateverthenameofReport();
rpt.ReportDefinition.Sections[index of the report section].SectionFormat.PageOrientation = ""; // This can be the name of the orientation

这是VS版本的问题。我下载了完整的版本,在那里可以正常工作。