Skip to Content
Former Member
Jun 30, 2009 at 08:29 PM

Page width not updated for Landscape reports


I develop reports outside of Visual Studio 2005, using CR XI R2. I then display them in my application using the CrystalReportViewer. I create the crystal report in code and then set the Zoom level to 1 on the CrystalReportViewer in order to set the report to display to the width of the window. This seems to work for all reports that are created with the Page Setup option set to Portrait. However, for all of my Landscape reports, the CrystalReportViewer doesn't fit the width of the window.

My code is straightforward and comes from an MSDN article (also posting this question there

CrystalReportViewer crv = new CrystalReportViewer();

CrystalReport1 cr = new CrystalReport1();

cr.SetDataSource( datasource );

crv.ReportSource = cr;


Thanks for any/all help. I realize this is a .NET problem, but hopefully someone out there has run into this or has some sort of solution.

Edited by: pram3dev on Jun 30, 2009 10:35 PM