next up previous contents index
Next: Shift Page Contents Up: Pages Previous: Page Sizes   Contents   Index


Scale Pages

The -scale-page operation scales each page in the range by the X and Y factors given. This scales both the page contents, and the page size itself. It also scales any Crop Box and other boxes (Art Box, Trim Box etc). As with several of these commands, remember to take into account any page rotation when considering what the X and Y axes relate to.



The -scale-to-fit operation scales each page in the range to fit a given page size, preserving aspect ratio and centering the result.



The scale can optionally be set to a percentage of the available area, instead of filling it.

The -scale-contents operation scales the contents about the center of the crop box (or, if absent, the media box), leaving the page dimensions (boxes) unchanged.



To scale about a point other than the center, one can use the positioning commands described in Section [*]. For example:




next up previous contents index
Next: Shift Page Contents Up: Pages Previous: Page Sizes   Contents   Index
root 2014-11-28