my $pdf = CAM::PDF->new('my.pdf'); my $page = $pdf->getPage(1); my $mediabox = $page->{MediaBox}->{value}; my( $hix, $hiy, $lox , $loy ) = map { $_->{value} } @$mediabox;
In reply to Re: Get the existing margin on a pdf page
by Anonymous Monk
in thread Get the existing margin on a pdf page
by ps04
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |