Answered
dubloveCorrect answer
Legend
Jul 30, 2025 2:36 AM UTC
This seems feasible:
var pb = sel[j].parentPage.bounds;
var bm = pp.marginPreferences.bottom.
. . . . . .
sel[j].visibleBounds = [sb[0], lcb, pb[2] - bm, rcb];
sel[j].fit(FitOptions.FILL_PROPORTIONALLY);
//sel[j].fit(FitOptions.FRAME_TO_CONTENT);
