Tuesday, October 21, 2008

How to write text vertically in a textbox in Report Builder 2.0?

There is a WritingMode property of a textbox. But it cannot render the horizontal text DESIGN as


D
E
S
I
G
N

One way to do this is to use an expression.
The following expression will do just that:

="D"+vbcrlf+"e"+vbcrlf+"s"+vbcrlf+"i"+vbcrlf+"g"+vbcrlf+"n"


Here is a picture of that:

3 comments:

  1. This method is super cool!

    what does the "vbcrlf" means?

    Victorio.

    ReplyDelete
  2. Means: Goes to next line

    ReplyDelete
  3. visual basic carriage return line feed. Basically go to the beginning of the next line.

    ReplyDelete