Copy link to clipboard
Copied
Hi...there,
I realized that when placing images/pdfs into a rectangle or frame, the default fit is CENTER in InDesign 2020 even thought the content-aware option was not enabled.
How to place the content to fit in to top left of the frame by default, without changes to frame dimension and actual image size using JS.
Thanks much
hi, add this line after placing :
myrectangle.frameFittingOptions.fittingAlignment = 1095660652
Copy link to clipboard
Copied
hi, add this line after placing :
myrectangle.frameFittingOptions.fittingAlignment = 1095660652
Copy link to clipboard
Copied
Thanks for helping!!
just one thing to point out should add BEFORE placing..
cheers 🙂