?
Solved

Setting crystal reports in landscape format in crystalreports viewer

Posted on 2004-08-25
8
Medium Priority
?
3,015 Views
Last Modified: 2009-09-01
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!
0
Comment
Question by:daim
8 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 11893909
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

0
 
LVL 42

Expert Comment

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

frodoman

0
 
LVL 10

Expert Comment

by:ebolek
ID: 11894964
if you wanna do it runtime

CrystalReportViewer1.pageOrientation = landscape;

regards
Emre
0
Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

 

Author Comment

by:daim
ID: 11898579
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?

0
 
LVL 10

Accepted Solution

by:
ebolek earned 375 total points
ID: 11902157
I am sorry i ws misleading. Viewer has not have that option but

Report document has
crystaldecisions.engine.reportdocument myreport  = new crystaldecisions.engine.reportdocument;
myreport.PrintOptions.PaperOrientation = Landscape;  
Regards
Emre
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 11909113
Is it Landscape or crLandscape?

mlmcc
0
 
LVL 10

Expert Comment

by:ebolek
ID: 11912298
crLandscape. I didnt have my .net open.
0
 

Expert Comment

by:SaiLoveAll
ID: 25233383
When i am not getting an option of selecting landscape in 9.2 version
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
As many of you are aware about Scanpst.exe utility which is owned by Microsoft itself to repair inaccessible or damaged PST files, but the question is do you really think Scanpst.exe is capable to repair all sorts of PST related corruption issues?
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…
Suggested Courses

609 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question