Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Writing a paragraph to a pdf [PDF::API2]

by pvaldes (Chaplain)
on Apr 20, 2016 at 15:07 UTC ( #1161006=note: print w/replies, xml ) Need Help??


in reply to Writing a paragraph to a pdf [PDF::API2]

UPDATED: Showing the correct way to use the method paragraph (and avoid the need to place \n around the text): Thanks to poj.

$txt->paragraph("This is a text that fits in a rectangle of 50x200 in the pdf current page. Newlines are placed automatically if needed, but any text reaching the lower limit of the given height will not be printed", 50, 200);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1161006]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (4)
As of 2019-10-15 04:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?