-
TextDocument object’s “Leading” Property?
Hello all,
this is probably an easy scripting thing but i can’t get this one to work no matter what i tried:
In a script, all parameters for characters in a text layer seem to be adjustable by the TextDocument object, except the Leading parameter. This parameter is not listed in the AE scripting guide. But why? And how can i change this value with a script?
I tried this:
textDocument2.leading = 40;
which just returns “auto” inside of after effects, no matter what value i give it, but at the same time it does not seem to fail to recognise the property because the script continues after this line.
Is there a dependancy on another value maybe or am i just using the wrong property? All other values (font size, tracking, etc) work as they should.