Author: anupalavila | Posted on: 4/5/2009 10:01:23 PM | Views : 474

 

How can I by code access and modify the Page Setup parameters for the
ReportViewer?
















I tried the following, but without success:
Microsoft.Reporting.WinForms.ReportPageSettings pgSettings =
reportViewer1.LocalReport.GetDefaultPageSettings();
pgSettings.Margins.Top = 25;
pgSettings.Margins.Bottom = 25;
pgSettings.Margins.Left = 50;
pgSettings.Margins.Right = 25;
...

Go to the complete details ...