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:

Follower1 said...

This method is super cool!

what does the "vbcrlf" means?

Victorio.

mysorian said...

Means: Goes to next line

Unknown said...

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

DMCA.com Protection Status