Page 1 of 1
DefaultPaperSize doesn't seem to be working
Posted: Tue Jul 13, 2010 8:21 pm
by MikeD
I got a new build yesterday. 737
Not sure if the problem existed before this.
But I know in build 717 the following command worked.
Stimulsoft.Report.StiOptions.Engine.DefaultPaperSize = System.Drawing.Printing.PaperKind.A4;
It doesn't seem to be working anymore. No matter what I set the DefaultPaperSize to it never changes.
DefaultPaperSize doesn't seem to be working
Posted: Wed Jul 14, 2010 1:10 am
by Andrew
Hello,
We have checked the issue and everything works Ok.
Note: This function works only for newly created pages. Created pages does not change its parameters.
Thank you.
DefaultPaperSize doesn't seem to be working
Posted: Wed Jul 14, 2010 12:39 pm
by MikeD
Well it doesn't seem to be working.
Here's my code.
Stimulsoft.Report.StiOptions.Engine.DefaultPaperSize = System.Drawing.Printing.PaperKind.A4;
Stimulsoft.Report.StiReport report = new Stimulsoft.Report.StiReport();
report.Dictionary.Synchronize();
WebReportDesigner.Design(report);
After this the WebReportDesigner_GetReport event is run and the report is rendered.
The Page size is Width 8.5 and Height 11 and Size = Custom.
I can click on the Size: drop down and select A4 and it works fine.
What am I missing.
DefaultPaperSize doesn't seem to be working
Posted: Thu Jul 15, 2010 1:14 am
by Vladimir
Hello, Mike
Settings from the class StiOptions not apply to WebDesigner. For it please use a special class StiWebDesignerOptions.
With regard to the set default page size. Unfortunately, at this moment there is not possibility in WebDesigner.
Thank you.
DefaultPaperSize doesn't seem to be working
Posted: Tue Sep 14, 2010 9:59 am
by MikeD
Is this option going to be available soon??
It seems like I can't be the only one who uses this product in the US.
We have customers all over the world. And we need to set the size to the different users who create reports.
DefaultPaperSize doesn't seem to be working
Posted: Wed Sep 15, 2010 3:20 am
by Vladimir
Hello, Mike
This option will be implemented in the final version 2010.2 of our product at the end of September.
Thank you.