Description
Auxiliary script that adds image placeholder and caption on specified coordinates and with specified dimensions. Returns the page ids of the added objects (to be able to reselect them).
Syntax
strIds = AddImageAndCapt(x, y, w, h, -1) |
x
x-position in mpt as returned by Page.getselectionx
y
y-position in mpt as returned by Page.getselectiony
w
width in mpt as returned by Page.getselectionwdith
h
height in mpt as returned by Page.getselectionheight
x
position of the caption: 1 = below, 2 = right side, 3 = over, 0 = don't add caption