Belongs to
-
Category: Page
-
Type: Changes
What it does
Allows you to create or resize a media box.
Choose one
of the following options:
- To create a new media box, select Define new
rectangle and enter the required values. Note that boxes are
defined from lower left to upper right.
- To resize a media box relative to the axes of the existing media box, select
Resize and enter the required values.
- To re-use the dimensions from another box, select Use box
size and select the appropriate page box.
- To determine the size of a media box based on a selection, select
Resize page box to fit the selection and enter
the offset values.
There are some additional options available:
- Only apply if not all pages have the same size
- Ignore page rotation and scaling factor
- Position the page content
The last option allows you to determine the position of the content on the page.
Note that the dropdown only controls the distance between the new page box and
the content. Options are:
- No move: The content stays where it was (the coordinates do not change),
regardless of the new size or position of the media box. It is possible that the
content does no longer fit in the media box!
- Center: The content will keep its position relative to the center of the
mediabox. For example, if the content is placed in the bottom left corner of the
media box, that will also be the case after resizing, but again: it is possible
that the content does no longer fall inside the media box (e.g. if the new box
is too narrow).
- Lower left/lower right: The content will keep its position relative to
the lower left or lower right of the media box; the distance to the lower left
or lower right of the media box will be kept the same. For example, if the
content is placed in the rightmost corner of the media box, that will also be
the case after resizing.
- Upper left/upper right: The content will keep its position relative to
the upper left or upper right of the media box; the distance to the upper left
or upper right of the media box will be kept the same. For example, if the
content is placed in the rightmost corner of the media box, that will also be
the case after resizing.
- Shrink to fit: This option makes sure that the content fits the new page
box; the content may be resized as well if needed.
Remark
Be aware that this Action does not change the crop box; only the media box and the
content (if moved along with the media box) are affected. As Acrobat uses the crop
box definition for display, when opening the file in Acrobat, the content may not be
visible/no longer centered due to the media box being resized and content being
moved along. You can fix this by removing the crop box or by changing the crop box
in the same way as the media box (see Remove crop box or Change crop box).
If no crop box was defined, Acrobat uses the media box for display.