Link to home
Start Free TrialLog in
Avatar of daim
daim

asked on

Setting crystal reports in landscape format in crystalreports viewer

Is it possible to set the paper orientation of the Crystal Report in landscape format in the crystal reports viewer? if so, how?

Also, How do you create crystal reports in vs.net c# in landscape format? is it also possible to do? Thanks!
Avatar of Mike McCracken
Mike McCracken

This gets set when the report is developed.  Page orientation is controlled through the printer settings.

Open the report
Click FILE --> PAGE SETUP (might be PRINTER SETUP)
Select LANDSCAPE

As far as I know it is done the same way in the ,net version
mlmcc

In the .Net version you need to rt-click on an empty part of the report, then select Designer -> Printer Setup.

frodoman

if you wanna do it runtime

CrystalReportViewer1.pageOrientation = landscape;

regards
Emre
Avatar of daim

ASKER

to ebolek:

thats what i need to do.. but in vs.net, there's no CrystalReportViewer1.pageorientation method.. is it possible to set the orientation of the crystal report viewer from a vs.net application during runtime?

ASKER CERTIFIED SOLUTION
Avatar of ebolek
ebolek

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Is it Landscape or crLandscape?

mlmcc
crLandscape. I didnt have my .net open.
When i am not getting an option of selecting landscape in 9.2 version