Quantcast
Channel: Adobe Community: Message List - Photoshop Scripting
Viewing all articles
Browse latest Browse all 27456

Re: How to measure/scale text to fit desired width?

$
0
0

The layer has a property "bounds" from which you can calculate the width.

var width = textLayer.bounds[2] - textLayer.bounds[0];


Viewing all articles
Browse latest Browse all 27456

Trending Articles



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