none
Text orientation in VS 2008 Reports RRS feed

  • Question

  • Microsoft Report from visual Studio 2008:

    Is there any way we can display a text or label in vertical (90 degrees) orientation? (inside the table)


    test
    Thursday, April 1, 2010 9:04 PM

Answers

  • No, currently this is not supported. CSS also does not work if you specify a style for the embeded HTML content. I tried using the following method for the placeholder's html content:
    ="<span style='float:left;font-size:25px;font-family:Verdana;-webkit-transform: rotate(-90deg); -moz-transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);'>Rotate Text</span>"
    However since this needs to run ActiveX control DXImageTransform, the reportviewer discard it.

    I recommend that you submit a feedback at http://connect.microsoft.com/sql.

    If the following out is acceptable for you:
    A
    B
    C

    You can create a placeholder on the textbox and set its content with HTML like "A<br/>B<br/>C".

    Otherwise, to work around this issue, I am afraid that you need to bound the field to rotated images which are stored in the table.

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Tuesday, April 6, 2010 12:20 PM
    Moderator
  • Just adding to Charles' response.  

    Rotation by -90 degrees (i.e. 270 degrees) is currently only supported with the upcoming SQL Server Reporting Services 2008 R2 release, but not in current Visual Studio Report Viewer releases.

    HTH,
    Robert


    Robert Bruckner   http://blogs.msdn.com/robertbruckner
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 9, 2010 5:37 AM
    Moderator

All replies

  • No, currently this is not supported. CSS also does not work if you specify a style for the embeded HTML content. I tried using the following method for the placeholder's html content:
    ="<span style='float:left;font-size:25px;font-family:Verdana;-webkit-transform: rotate(-90deg); -moz-transform:rotate(-90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);'>Rotate Text</span>"
    However since this needs to run ActiveX control DXImageTransform, the reportviewer discard it.

    I recommend that you submit a feedback at http://connect.microsoft.com/sql.

    If the following out is acceptable for you:
    A
    B
    C

    You can create a placeholder on the textbox and set its content with HTML like "A<br/>B<br/>C".

    Otherwise, to work around this issue, I am afraid that you need to bound the field to rotated images which are stored in the table.

     


    Please remember to mark the replies as answers if they help and unmark them if they provide no help
    Tuesday, April 6, 2010 12:20 PM
    Moderator
  • Just adding to Charles' response.  

    Rotation by -90 degrees (i.e. 270 degrees) is currently only supported with the upcoming SQL Server Reporting Services 2008 R2 release, but not in current Visual Studio Report Viewer releases.

    HTH,
    Robert


    Robert Bruckner   http://blogs.msdn.com/robertbruckner
    This posting is provided "AS IS" with no warranties, and confers no rights.
    Friday, April 9, 2010 5:37 AM
    Moderator