PDF-API2-Tweaks
view release on metacpan or search on metacpan
123456789101112131415PDF-API2-Tweaks
PDF::API2::Tweaks provides a number of extensions to PDF::API2.
Most of the extensions deal
with
producing PDF overlays, to fill in
forms. For example,
# Open an existing PDF file
my
= PDF::API2->
open
(
$form
);
# Retrieve an existing page
my
$page
=
->openpage(1);
# Add a built-in font to the PDF
my
$font
=
->corefont(
'Helvetica'
);
lib/PDF/API2/Tweaks.pm view on Meta::CPAN
8910111213141516171819202122232425262728package
PDF::API2::Tweaks;
=head1 NAME
PDF::API2::Tweaks - Assorted handy additions to PDF::API2.
=head1 SYNOPSIS
PDF::API2::Tweaks provides a number of extensions to PDF::API2.
Most of the extensions deal with producing PDF overlays, to fill in
forms. For example,
# Open an existing PDF file
my $pdf = PDF::API2->open($form);
# Retrieve an existing page
my $page = $pdf->openpage(1);
# Add a built-in font to the PDF
my $font = $pdf->corefont('Helvetica');
( run in 0.406 second using v1.01-cache-2.11-cpan-26ccb49234f )