Dynamically change Portrait / Landscape orientation of crystal report in c#
Asked Answered
M

5

7

How can I change the orientation of the crystal report in c# to Landscape orientation? I am using the crystal report in the portrait orientation.

Mancuso answered 16/5, 2011 at 15:56 Comment(0)
I
16

You may check this

Right click--->Design--->Page SetUp--->Orientation--->LandScape format.

Insinuation answered 16/5, 2011 at 16:2 Comment(0)
S
6

Crystal Reports uses your current printer settings. Change those, and your report changes to match.

So, to change the orientation of your report to landscape view:

  1. File -> Printer Setup.

  2. In the "Orientation" section, choose "Landscape".

Stane answered 16/5, 2011 at 16:2 Comment(0)
G
2

In order to change the orientation to Landscape mode you need to go to Crystal Reports-> Design-> Printer Setup

Then change the orientation to Landscape or Portrait according to your need.

Garboard answered 18/5, 2011 at 8:23 Comment(0)
D
0

For changing Orientation Of crystal report dynamically Follow following step:

 1. Copy Crystal Report and past in same project,Rename it.

 2. Now Right click on New Crystal Report > Design>Page SetUp > Orientation > LandScape ,that is set new new crystal report Orientation  as LandScape
 3. Last step is to Load new crystal report to ReportDocument at runtime

it will display crystal report in LandScape mode.

Denticulate answered 15/4, 2015 at 7:34 Comment(0)
C
0

if you want to do it at runtime, this will help you:

reportDocument1.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
CrystalReportViewer1.ReportSource = reportDocument1;

I hope this will help you.

Coiffure answered 17/4, 2019 at 12:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.