Hello,
I would like to have rendered the first (rendered) page with different margins as the following pages and use only one (template) page in the report.
Is this possible via code or in any other way?
Thanks for any help.
Is it possible to change marings while rendering?
Is it possible to change marings while rendering?
Hello,
You can use following script in BeforePrintEvent of page:
Thank you.
You can use following script in BeforePrintEvent of page:
Code: Select all
if (PageNumber == 1)Page1.Margins = new StiMargins(1, 1, 1, 1);
else Page1.Margins = new StiMargins(3, 3, 3, 3);
Is it possible to change marings while rendering?
Hello Jan,
your advice gave me the hint for doing the same in the Stimulsoft.Report.StiOptions.Engine.GlobalEvents.ReportRendering-Event. And it works great!
:biggrin:
I thank you very much for your help!
Have a nice day.
your advice gave me the hint for doing the same in the Stimulsoft.Report.StiOptions.Engine.GlobalEvents.ReportRendering-Event. And it works great!
:biggrin:
I thank you very much for your help!
Have a nice day.
Is it possible to change marings while rendering?
Hi
You are very welcome, please let us know if any help is required.
Thank you.
You are very welcome, please let us know if any help is required.
Thank you.