Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: PDF::API2 is confusing me to death..

by mpeters (Chaplain)
on Sep 06, 2005 at 20:50 UTC ( #489677=note: print w/replies, xml ) Need Help??


in reply to Re^2: PDF::API2 is confusing me to death..
in thread PDF::API2 is confusing me to death..

I know what creates the additional pages, but what says "hey, write to me now buddy!"
That's what the openpage() method does. It will return the page object. From that you can add whatever you want to that page. This is how I usually do that:
my $current_page = $pdf->openpage($page_num); $current_page->gfx->textlabel( 100, # X coord 200, # Y coord $font, $font_size, "Some text to write", ); $current_page->update();

-- More people are killed every year by pigs than by sharks, which shows you how good we are at evaluating risk. -- Bruce Schneier

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://489677]
help
Chatterbox?
[choroba]: holli The money wasn't bad :-)
[choroba]: Discipulus Try changing the URL constants to something else

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-10-24 11:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (289 votes). Check out past polls.

    Notices?