: Photoshop text bounding box width and height How to get the width and height of text bounding box in Photoshop using ExtendScript
How to get the width and height of text bounding box in Photoshop using ExtendScript
More posts by @Hamaas979
1 Comments
Sorted by latest first Latest Oldest Best
To grab the bounding box of the currently selected paragraph text layer:
var t = activeDocument.activeLayer.textItem;
alert(t.width + ", " + t.height);
This is documented in the JavaScript Scripting Reference (TextItem properties are listed starting on page 179)
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.