Paper Size in Crystal Web Viewer

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
 
B

Bernie Yaeger

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?
 
G

Guest

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top