Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

ADBE Text Document boxTextSize attribute

$
0
0

Hello,

 

I am trying to determine the size and position of a text box in a text layer.

 

the attribute "boxTextSize" works as expected, I am able to retrive the size of the text box with a call like this :

 

myLayer.property(\"ADBE Text Properties\").property(\"ADBE Text Document\").value.boxTextSize;

 

But how can I determine the origin of the text box relative to the anchor point (or vice-versa) ? Strangely, when I create the text box in After Effects (CC), the anchor point is automatically placed in the center of the box (visually), even though the reported numerical values for the anchor point for that layer are (0, 0, 0). Am I misinterpreting something ?

 

Thanks !

Steph


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>