2022.2

Table Of Contents
In PlanetPress Suite, this method is useful for n-Up imposition. For example, (xnum=1, ynum=1,
scaleFactor=1.0) means that each source is overlaid on the corresponding destination page, 1 on 1, 2
on 2, 3 on 3, etc. Having (xnum=3, ynum=2) with xoffset, yoffset and scaleFactor set accordingly res-
ults in a 3x2 mosaic looking like this:
1 2 3
4 5 6
There is no separator between the source pages on the destination page. A space can be obtained by
using an offset bigger than the size of the scaled source page.
Syntax
VOID MergeWith2 (STRING pdfFilename, LONG xnum, LONG ynum, LONG xoffset, LONG yoffset,
FLOAT scaleFactor)
pdfFilename
Name of the source PDF from which pages are taken.
xnum
Number of columns.
ynum
Number of rows.
xoffset
Horizontal space to put between the top left corner of each source page, in points.
yoffset
Vertical space to put between the top left corner of each source page, in points.
scaleFactor
Scale at which to draw on source pages on the destination. Use 1.0 to draw the page at its nominal
size.
Open(filename, doRepair)
Opens an existing PDF, optionally repairing it.
Syntax
VOID Open (STRING filename, BOOL doRepair)
filename
Name of the file to open.
doRepair
Page 199