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.
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.