Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a page 6 x 8 size. I set the paper size at compile time. But at runtime it takes "letter" as paper size automatically. What is the problem.

Please suggest me, what I need to do?

just tell me, how to resize a page in CrystalReporting.
Posted
Updated 17-Apr-12 21:18pm
v2
Comments
Kuldeep B 16-Apr-12 12:20pm    
Same problem I'm facing.
http://www.codeproject.com/Questions/362084/How-to-setup-crystal-report-layout-in-Windows-appl

1 solution

Try this when you are showing your report... e.g. Button_Click event.



C#
ReportDocument1.PrintOptions.PaperSize = PaperSize.PaperFanfoldUS;


Yo may have many options in place of PaperFanfoldUS;.
 
Share this answer
 
Comments
Mantu Singh 24-Apr-12 6:55am    
Is ReportDocument1 object of CrystalReport added to project and can we adjust page size /orientation at time of designing the crystal report if yes how...?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900