I have set text like this below.
var myTextLayer = mainComposition.layers.addText();
var textProp = myTextLayer.property("Source Text");
textDoc = textProp.value;
textDoc.text = 'my test text';
textProp.setValueAtTime(0,textDoc);
I want to set text as vertical text
, However I couldn't find attribute here.
Is there any other property I can check???
I appreciate any help or hint.
Thank you very much.
Programatically, you can split the text at each character and then join it back with carriage returns:
let textSource = value;
let newText = textSource.split("").join("\n");
newText;
Or, in one line of code:
value.split("").join("\n");
Or easier...use the vertical text tool: