I’m trying to rotate my text control inside the datawindow by entering integer inside the escapement expression as shown in the below link.
Now the problem is the following: I actually have borders around the text. While the text itself rotates, I also need the border to be rotating as well.
Reason for this is I’m trying to print a label and because the border of the textbox does not rotate, it actually falls outside the allowed width of the paper.
Text control is rotated by 270 degrees.
(BEFORE THE ROTATION:)

(AFTER THE ROTATION. You can see that the border is not rotated.)

How do you rotate the border along with the text?
Unfortunately you cannot rotate those. text Escapement does rotate the display but in real page positioning it is still the same. Meaning, if your text is on the most right of the page, you will get two(2) pages instead of one because it will show your escapement properly as vertical, but it will still lapse your current margin. I recommend you use autosize height and use a vertical displayed font. I tried doing that once in my current company but you also have to deploy that font.
I hope I helped somehow.