Dear Friends
I am facing a serious problem while Set & Get the Page Margin, Paper Size, Orientation etc to & from the RDLC - Report Viewer Page setup dialog.
I want to do this in Programatically.
Note :
1. Programatically I can able to get the default values of Page Margins from the Pagesetup.
2. Once I change the values in the Pagesetup, I cannot able to retrieve the modified Pagesetup values, it fetches only the default values of the Pagesetup.
ex.,
Following code gets the default value
MarginTop = ReportViewer1.LocalReport.GetDefaultPageSettings.Margins.Top
MarginLeft = ReportViewer1.LocalReport.GetDefaultPageSettings.Margins.Left
MarginRight = ReportViewer1.LocalReport.GetDefaultPageSettings.Margins.Right
MarginBottom = ReportViewer1.LocalReport.GetDefaultPageSettings.Margins.Bottom
Kindly help me to Get & Set the Pagesetup values Dynamically.
Thanks
Thiraviam