Line Height does no apply to PDF Export
Hi, I have recently realized that Line Height property for text boxe in SSRS2008 , does not apply to the pdf exported. Is it possible to have line spacing different from the default one when exporting the report into PDF? Many thanks, Vahid
May 17th, 2012 10:26am

Hi Vahid, Sorry for the delay. You are right that the LineHeight property is ignored when exporting a report to PDF format. Actually, the LineHeight property only affects when we use the HTML rendering format. To work around this issue, you can use the Space() function before/after the target element in the expression like: =space(10) & Fields!FieldName.Value & space(10) Reference: http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/af84ad88-f58f-44f3-b324-f2d5ca0ef9d8 If you have any questions, please feel free to let me know. Regards, Mike Yin TechNet Subscriber Support If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Free Windows Admin Tool Kit Click here and download it now
May 21st, 2012 6:03am

Hi Mike, Thanks for your reply! As a workaround you have suggested to put space after or before the text. Just to clarify the issue my problem is that the line spacing between multiple lines could not be set and putting spaces after or before the text would not help me to fix that. Would you please explain a bit your solution? In addition, isn't there any way to change the default PDF rendered for the SSRS or overrite some of its behaviour in order to apply this setting? Many thanks, Vahid
May 22nd, 2012 4:44am

Hi Vahid, Thanks for your posting. Currently, there is no approach to enable the LineHeight property for the rendering extensions except HTML. Thanks for your understanding. Here, I would like to explain that adding space before/after the text can also change the line height. Moreover, the space function doesnt affect when we use the HTML format. You can see the comparisons from the screenshot below: If you have any questions, please feel free to let me know. Regards, Mike Yin TechNet Subscriber Support If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 10:45pm

Hi Vahid, Thanks for your posting. Currently, there is no approach to enable the LineHeight property for the rendering extensions except HTML. Thanks for your understanding. Here, I would like to explain that adding space before/after the text can also change the line height. Moreover, the space function doesnt affect when we use the HTML format. You can see the comparisons from the screenshot below: If you have any questions, please feel free to let me know. Regards, Mike Yin TechNet Subscriber Support If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
May 23rd, 2012 10:45pm

Hi Vahid, Thanks for your posting. Currently, there is no approach to enable the LineHeight property for the rendering extensions except HTML. Thanks for your understanding. Here, I would like to explain that adding space before/after the text can also change the line height. Moreover, the space function doesnt affect when we use the HTML format. You can see the comparisons from the screenshot below: If you have any questions, please feel free to let me know. Regards, Mike Yin TechNet Subscriber Support If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2012 10:52pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics