- pageItem.geometricBounds = [frameSize[0], frameSize[1], frameSize[0] - Number(changeY.editContents), frameSize[1] + Number(changeX.editContents)];
- pageItem.move(myDoc.pages[pageNo.editContents - 1]);
- pageItem.move([x, y + (++ic * 10)]);
Hi,
Two things:
1. (line 1; cosmetic) I would change "frameSize[0] - Number(...)" to "frameSize[0] + Number(...)"
2. Inbetween lines 2 and 3 above - right after moving pageItem to a page (right one in facing doc) its left-up corner is located in [0,0] point however (somehow) belongs to a left page (can not explain why). If you include additional step (move by):
pageItem.move(undefined,[10,10]);
you will see the difference.
Jarek