PDF::API2::Page
Methods to interact with individual pages
- Provided by: libpdf-api2-perl (Version: 2.037-1)
- Report a bug
Methods to interact with individual pages
The cropbox defaults to the mediabox.
The bleedbox defaults to the cropbox.
The trimbox defaults to the cropbox.
The rtbox defaults to the cropbox.
(This allows you to auto-rotate to landscape without changing the mediabox!)
Example:
$co->resource('Font',$fontkey,$fontobj);
$co->resource('XObject',$imagekey,$imageobj);
$co->resource('Shading',$shadekey,$shadeobj);
$co->resource('ColorSpace',$spacekey,$speceobj);
Note: You only have to add the required resources, if they are NOT handled by the *font*, *image*, *shade* or *space* methods.