Monday, October 28, 2013

SSRS report : export to PDF issue‎

Hi SmokeCoder,


Sorry for the delay.


From the description, the issue occurs because Width(Interactive Size) + Margin(Left) + Margin(Right) > Width(Page Size) in the report. The Width(Interactive Size) mentioned here is not the width of the report body at design-time in the design surface, in fact, it’s the width of the report body at run-time. We know that the report body will adjust its width to accommodate to the report content dynamically at run-time. In this case, because Width(Interactive Size) + Margin(Left) + Margin(Right) > Width(Page Size), there will be some white space reserved in the report body expands to an extra page.


To avoid this issue, we can remove the white space in the right-hand section of the report body manually or set the ConsumeContainerWhiteSpace property of the report to True.


Reference:

http://blogs.msdn.com/b/sqlforum/archive/2011/02/28/faq-how-do-i-get-the-same-page-number-in-web-page-and-pdf.aspx


Regards,

Heidi Duan




We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time.

Thanks for helping make community forums a great place.


No comments:

Post a Comment