Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Get position and width of each line of textFrame

$
0
0

hello!

 

I have a file from a designer with a text layout that has a block of centered copy with lots of kerning adjustments and line breaks. I'd like to loop over the lines and find the center,, left and top position (in pixels) of each line of the textFrame. Is there a way to do this in JS?

 

thanks!

-kc


Viewing all articles
Browse latest Browse all 12845

Trending Articles