setting page size and margin
setting page size and margin
Can I set the page size and margin based on a field from the database? if yes, how?
setting page size and margin
Hi,
You can do it in the BeforePrint event of the page as follows:
Thank you.
You can do it in the BeforePrint event of the page as follows:
Code: Select all
this.Page1.Margins = new Stimulsoft.Report.Components.StiMargins(MyDataSource.left, MyDataSource.right, MyDataSource.top, MyDataSource.bottom);