How to align the text in justify format with SQL Server Reporting Services? RRS feed

  • Question


            How to align the text in justify format In SQL server Reporting Services? Is there any code to do so?

    Thursday, January 18, 2007 4:24 AM

All replies

  • Hi,

    I suppose that with justify you mean "fit to entire line" format. This is not available in reporting services. There is only Left, Center and Right.




    Geert Verhoeven
    Consultant @ Ausy Belgium

    My Personal Blog

    Thursday, January 18, 2007 7:23 AM



            Thank you for your reply. Yes, of course, i knew there was no option to justify the text in SQL Server Reporting Services. But i am in need to apply justify format for my text in one of my reports. Hence i also ask "Is there any code to do so?".  If u came to know about this, kindly do reply me.





    Thursday, January 18, 2007 7:46 AM
  • Hi,

    I'm afraid that if you want to have this kind of functionality, you will need to write a custom control. Here is an example: http://msdn2.microsoft.com/en-us/library/ms345265.aspx. The issue with custom controls is that it needs to be known by all the reportservers that will render your report.




    Geert Verhoeven
    Consultant @ Ausy Belgium

    My Personal Blog

    Thursday, January 18, 2007 7:58 AM
  • Hi,

    Thanks for your suggestion. I will try that way.



    Thursday, January 18, 2007 8:33 AM
  • Hello Everybody,

    is there any other way to justify text on both sides , i am having the same problem as Kalaivani.


     I appreciate ur response.



    Wednesday, February 21, 2007 5:54 PM
  • Hi everybody,

    I've got the same problem... Did anybody found the solution since february 2007 ??? :-)

    I really nead to justify the text !!! I don't understand why such a basic function isn't available in a Microsoft product !!!!!

    It's a shame !

    Thanks for your answers....
    Wednesday, June 11, 2008 12:53 PM
  • hi everybody,

    haven't found yet? any great idea for this problem?
    i have to create auto generated contract letter which need to justify, please any idea how can this be done?

    Thursday, October 9, 2008 1:34 AM

    Unfortunately this feature didn't make the cut for SSRS 2008 . Your options are still in 3rd party solutions or custom controls.





    • Proposed as answer by sophiemb Monday, March 23, 2009 2:33 AM
    Friday, October 10, 2008 6:26 PM
  • Which '3rd party solutions or custom controls' are you referring to?
    Monday, March 23, 2009 2:36 AM
  • Has any body found the way to do this? How are the custom control used? is there any control already crated for this pourpose?

    I'll really apreciate any suggestions.


    Camilo Serna.

    Friday, August 21, 2009 4:09 PM
  • Any workaround or solution arrived for text justification? All the professional reporting requirements or documenting requirements needs this desperate ..

    Thursday, October 22, 2009 3:15 AM
  • I agree!

    Oracle Reports has had  this feature for  about 10 years!

    It's unnacceptable not to have a solution for this issue for such a long time, and not to have even a workaround.

    Very diappointing.

    Wednesday, May 19, 2010 6:11 PM
  • I found this link: https://connect.microsoft.com/VisualStudio/feedback/details/111424/reportviewer-rdlc-file-textbox-textalign-unable-to-set-justify-alignment
    John Ordóñez Monroy | twitter.com/jomBusiness |
    Monday, June 7, 2010 5:05 PM
  • How can this be? This is outrageous. ALMOST 4 YEARS and Microsoft isn't able to implement something so simple? What are you guys doing? What a shame.

    To everybody having the same problem : ditch SSRS and use Crystal Reports !!!

    Tuesday, October 19, 2010 10:25 AM
  • Is this problem solved...?!? I am also looking for solution or workaround.
    Thursday, October 28, 2010 8:39 PM
  • I'm also looking for solution or workaround for this??
    Monday, November 29, 2010 6:28 PM
  • Hi Anitha,

    you can get this solution from 3rd party tool Aspose.MS is lack on this.



    Tuesday, December 7, 2010 6:24 PM
  • There is a solution in SSRS. Drag a text box onto the report and set its expression to the datafield. the datafield could be database or calculated field.

    Just setting the normal LTR alignment for the textbox will display the text in a justified manner.


    Wednesday, December 15, 2010 12:19 PM
  • in properties , TextAlign =Defaul
    Live like you'll die tomorrow, learn like you'll live forever. http://underframework.wordpress.com/
    Wednesday, January 5, 2011 4:57 PM
  • Setting Horizontal Alignment to "Left" did not work.
    Friday, January 14, 2011 4:32 PM
  • Setting TextAlign to "Default" did not work as well.
    Friday, January 14, 2011 4:33 PM
  • Not sure if this is still an issue, but adding a placeholder with html markup and in the text expression write something like ="<p align=""justify"">some text</p>" will do the job in SSRS 2008
    • Proposed as answer by Irma T Wednesday, August 10, 2011 11:53 AM
    • Unproposed as answer by Irma T Wednesday, August 10, 2011 12:23 PM
    • Proposed as answer by stefan.kolev Monday, November 28, 2011 3:44 PM
    Wednesday, August 10, 2011 11:53 AM
  • Irma, I've tried this already. It doesn't seem to work.
    Wednesday, August 10, 2011 8:37 PM
  • I'm not able to have the Irma's hint working. the html is parsed and, for example, <b> is applied and bolds words.

    My conclusiong is that the align="justify" is not supported (in Denali RC0 too)


    Strictly the msdn description above is correct, but not all the properties are honoured!

    ="<p style=""font-weight:bold;color:red;text-align:right""> That is a test for testing css tags </p>"

    The above exprension works in an html placeholder, BUT WILL NEVER HONOUR a "text-align:justify"

    • Edited by pgfiore Thursday, November 24, 2011 2:30 PM
    Thursday, November 24, 2011 12:49 PM
  • In case people end up here looking for the "justify text" feature in SSRS: it is still not implemented.  If you'd like to get this feature, please vote on following MS Connect item: full justification in reporting services 2008 needed

    MCITP SQL Server 2008 (DEV); MCTS SQL Server 2008 (BI, DEV & DBA)
    Check out my articles at BI: Beer Intelligence?

    Thursday, March 7, 2013 8:24 AM
  • so now what can we do ?  i want to ustify my text so baldy , and i cant change to crystal report , what should i do ?????
    Saturday, June 1, 2013 6:20 AM
  • try this link:


    Tuesday, April 22, 2014 1:55 AM
  • I have been able to come up with a possible workaround for this requirement. You can find the detailed solution here:


    Wednesday, March 18, 2015 6:05 PM
  • I have been able to come up with a possible workaround for this requirement. You can find the detailed solution here:


    Wednesday, March 18, 2015 6:06 PM
  • I programmed a solution as stored procedure. It can be downloaded at http://www.rupert-spaeth.de/justify/
    Saturday, December 3, 2016 10:09 AM
  • Buenos dias.

    Puedo decir que la solución dada por el señor Rupert S funciona, gracias por compartir!

    Saludos desde Hernandarias/Paraguay

    Tuesday, January 17, 2017 2:44 PM
  • Is there a solution for this in 2017 ?  
    Wednesday, July 19, 2017 6:15 PM
  • Are there any support or workaround on this in latest SSRS version?
    I still not find any option for justify alignment.
    Monday, August 28, 2017 5:07 AM
  • 10 years and nothing yet? unbelievable....
    Monday, November 13, 2017 9:30 AM
  • nothing yet????


    Thursday, September 13, 2018 1:48 PM
  • Is there a solution in 2019?
    Thursday, July 11, 2019 5:58 PM
    Thursday, July 11, 2019 9:48 PM
  • https://www.phidiax.com/blog/post/sql-server-reporting-services-ssrs-how-to-justify-text-part-2

    I have applied the custom code from this blog and it is able to emulate the justified text on my reports with

    slight tweaking.

    Thursday, July 25, 2019 8:50 AM