Solved

Setting crystal reports in landscape format in crystalreports viewer

Posted on 2004-08-25
8
2,573 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 100

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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 

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 125 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 100

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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

738 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