in reply to Get the existing margin on a pdf page
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;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Get the existing margin on a pdf page
by ps04 (Initiate) on Aug 22, 2013 at 05:15 UTC | |
by Anonymous Monk on Aug 24, 2013 at 08:36 UTC |