The same margin on all sides
You enter
- 2-page A4 test PDF
- Margins mm
- Top: 10; Right: 10; Bottom: 10; Left: 10
You get
- Crop box per page
- x 28.35, y 28.35, width 538.59, height 785.2 (points)
- Pages
- 2
Ten millimetres is 28.35 points, using 72 points per inch and 25.4 millimetres per inch. A4 is 595.28 by 841.89 points, so the new width is 595.28 minus 2 times 28.35, and the height is 841.89 minus the same. Worked out by running the tool's cropping code on a blank test PDF.
Run through the tool’s own code.