Copy link to clipboard
Copied
This is how i am getting text when i place text inside this selected textframe.
Is there anyway to place the text vertically from down to upwards the textframe as in below image
1 Correct answer
Thanks for your suggestion @m1b , as you said I tried by rotating it and then redefining the geometricBounds of the textFrame. Now its working fine!
var myMasterSpread =app.activeDocument.masterSpreads.item(0);
var ClineFrame = myMasterSpread.textFrames.add ({
geometricBounds: [0, 0, 5 , 60]
});
ClineFrame.contents = "Need to insert text like this";
ClineFrame.rotationAngle = 90;
ClineFrame.geometricBounds =[26, 43, 5, 74];
Copy link to clipboard
Copied
Hi @Karthik SG, so you want to know how to —in a script—make a text frame with text in it and rotate it 90°?
-Mark
Copy link to clipboard
Copied
@m1b , actually I already placed a textframe in certain position vertically. Now need to insert content in that textFrame vertically from down to up.
So is it possible to create a new textFrame and insert content into it and rotate it and then align that textFrame to my required geometric bounds which i already have!
Copy link to clipboard
Copied
Yes @m1b , trying to do it in script!
Copy link to clipboard
Copied
Thanks for your suggestion @m1b , as you said I tried by rotating it and then redefining the geometricBounds of the textFrame. Now its working fine!
var myMasterSpread =app.activeDocument.masterSpreads.item(0);
var ClineFrame = myMasterSpread.textFrames.add ({
geometricBounds: [0, 0, 5 , 60]
});
ClineFrame.contents = "Need to insert text like this";
ClineFrame.rotationAngle = 90;
ClineFrame.geometricBounds =[26, 43, 5, 74];
![](/skins/images/8C4ECC496FF16CD8C5F10B75FDAEAD97/responsive_peak/images/icon_anonymous_message.png)
![](/skins/images/8C4ECC496FF16CD8C5F10B75FDAEAD97/responsive_peak/images/icon_anonymous_message.png)