Function: planTiles()
function planTiles(bounds, options?): TilePlan;
Tile grid, in mm, for a diagram of bounds px printed at scale pt per px. Tiles run row by
row; neighbours share overlapMm; the last row and column are cut to the diagram. 'auto'
orientation picks the one with fewer pages; on a tie the one matching the diagram's aspect
(landscape for a wide diagram, portrait otherwise).
Parameters
bounds
options?
content?
readonly Box[]
Boxes of what is worth printing (tables, notes, collapsed groups; contentBoxes(geometry)),
in the coordinates of bounds. With them, grid cells none of the boxes reaches are skipped.
orientation?
"auto" | "landscape" | "portrait"
overlapMm?
number
paper?
scale?
number
skipEmpty?
boolean
Leave out cells without content (needs content). Default true.