Incorrect Paper size

Stimulsoft Reports.NET discussion
Post Reply
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Incorrect Paper size

Post by satisht »

I have set width and height as 8.27 and 11.69 but report paper size is displayed wrong in windows 2000 as like 'PRC Envelope # 9' and some time paper type is selected
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Incorrect Paper size

Post by Edward »

Please set the PaperSize of the Page to the "Custom" value.

Where have you seen these settings? I mean the designer, the print dialog, etc.

Thank you.
satisht
Posts: 150
Joined: Mon Apr 09, 2007 12:28 am
Location: Pune

Incorrect Paper size

Post by satisht »

How should i set the paper size at runtime
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

Incorrect Paper size

Post by Edward »

The following code sets the size of the page for the Page1 in the report template, this code works for not compiled report.

Code: Select all

Page1.PaperSize = System.Drawing.Printing.PaperKind.A4;
If it is doesn't help, please see the following topic:

http://forum.stimulsoft.com/Default.aspx?g=posts&t=703

Thank you.
Post Reply