Copy link to clipboard
Copied
Hi all,
I'm trying to resize 75% scale a group item that contains a text frame and a path item. The path item has a 10pt stroke. My code is:
app.selection[0].resize(75, 75, true, true, true, true, true);
When I do that, everything scales correctly, except the stroke, which goes to 1pt. I would expect it to go to 7.5pt. I currently have the Scale Effects and Stroke Preference set to On. Any thoughts on what I can change? Don't use resize much. Thanks.
The last argument in your statement should be the stroke scale factor, not a boolean.
app.selection[0].resize(75, 75, true, true, true, true, 75);
Copy link to clipboard
Copied
The last argument in your statement should be the stroke scale factor, not a boolean.
app.selection[0].resize(75, 75, true, true, true, true, 75);
Copy link to clipboard
Copied
Duh, misread the API. Thanks.