Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

cannot programmatically change PaperOrientation or PaperSize

$
0
0

I have an .RPT file that I created with a Landscape paper orientation and a Letter paper size using Crystal Reports for Visual Studio (version 13.0.10) under VS 2013.  At run-time in my server-side .NET code, in a CrystalDecisions.CrystalReports.Engine.ReportDocument object, I changed the PaperOrientation (property PrintOptions.PaperOrientation) to Portrait and the PaperSize (property PrintOptions.PaperSize) to PaperA4.  However, when the report renders on the web client, it shows as Landscape and Letter as they were originally set in the .RPT - not using the overriding settings from the server-side code.

 

How can I get the report to change paper orientation/size programmatically?  Am I doing something wrong or is there a bug in Crystal Reports?  (and if it is a bug, is this something that will be fixed?)

 

Thanks in advance for your help!


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>