471,123 Members | 962 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,123 software developers and data experts.

Modifying DefaultPageSetting at runtime for LocalReport -- HELP! --

Rod
I'm using:

Microsoft.Reporting.WinForms.ReportPageSettings pgSettings = reportViewer1.LocalReport.GetDefaultPageSettings() ;
pgSettings.Margins.Right = 40;
pgSettings.Margins.Left = 40;

... to set my page margins for the report, but when I click the page setup, it still shows 100 (1 inch).
Can anyone explain this and offer a solution? I don't want the end users to have to set the margins
each time before printing.

Thanks!
Jun 1 '07 #1
0 1423

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

12 posts views Thread by pvinodhkumar | last post: by
1 post views Thread by Brett Romero | last post: by
5 posts views Thread by cpnet | last post: by
3 posts views Thread by Oenone | last post: by
reply views Thread by =?Utf-8?B?Umljaw==?= | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.