TextDocument object's "Leading" Property?
Posted: May 8th, 2013, 6:38 am
Hello all,
this is my first question to this fine community. For you guys, this is probably an easy one but i can't get this one to work no matter what i tried:
All parameters for characters in a text layer seem to be adjustable by scripting with 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?
this is my first question to this fine community. For you guys, this is probably an easy one but i can't get this one to work no matter what i tried:
All parameters for characters in a text layer seem to be adjustable by scripting with 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?