Reporviewer localreport margins

G

Guest

Looking for Steven Cheng [MSFT] and Mr. Walter Wang...

I have created rdlc files and when I load them into Report Viewer at run
time they appear OK, If I click on 'Print layout' button on Report Viewer
the view again appears unacceptable and clicking on 'Page setup' button the
margins left & right are not what I set on the rdlc file at design time
(1.5cm) they are 5.9mm.

I found Mr. Cheng and Mr. Wang answer to this question about a year ago
(june 2006) telling the ReportViewer control always perform a fixed
proportion calculation when migrate the margins setting from report
definition template(rdlc) to its own page settings properties (displayed in
page setup dialog):

this.m_pageProperties = new ReportPageSettings((int)
((result1.PageProperties.LeftMargin / 25.4) * 100), (int)
((result1.PageProperties.RightMargin / 25.4) * 100), (int)
((result1.PageProperties.TopMargin / 25.4) * 100), (int)
((result1.PageProperties.BottomMargin / 25.4) * 100));

Mr. Cheng confirmed that was an issue of Visual Studio 2005 and told You
have filed that in our database and hopefully that will be fixed in Visual
Studio 2005 SP1.

I'm using VS 2005 ITA SP1 but the 'margin issue' has not gone... any
suggestion?

My best regards.
 
S

Steven Cheng[MSFT]

Hi esoci,

Yes, I have ever worked on such a problem of the winform reportviewer
printing layout setting. So far I haven't got definite confirm that this
problem is fixed in Visual Studio 2005 SP1 as when I raised this issue, it
is much closer to the release of Visual Studio 2005 sp1.

If you're facing the same problem and want a quick fix or resolution, I
suggest you directly contact CSS as it may help you quickly contact product
team or find any rapid fix on this.

http://msdn.microsoft.com/subscriptions/support/default.aspx

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead


This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top