Paper Size in Crystal Web Viewer

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a Crystal Report which is set to A4 paper size, both at design time, and also in run-time code. However, when displayed in the web viewer, it is cut off at 'letter' size. Any ideas?

John
 
Hi John,

You have to set this as part of the reportdocument class and then set the
viewer to display that reportdocument object:
crreportdocument.PrintOptions. etc

CrystalReportViewer1.ReportSource = crreportdocument

HTH,

Bernie Yaeger

I have a Crystal Report which is set to A4 paper size, both at design
time, and also in run-time code. However, when displayed in the web viewer,
it is cut off at 'letter' size. Any ideas?
 
Thanks for the response, however, that is what I did. I defined the report initially on a system with the default printer set to A4. I then also set the paper size in the reportdocument class to A4 before binding to the viewer. However, the viewer still cut off a bit at the right-hand side to reduce to the equivalent of letter. (Previewing in stand-alone Crystal 10 is OK). It is as if the viewer is ignoring the paper size in the reportdocument and always assuming letter.
 
Back
Top