| [reply] |
Thanks for the sample code link. Isn't there anything already built into the module so I don't have to use that much code? In one tutorial I found, it mentioned there was a 'paragraph' method, but it didn't work. I think maybe the module underwent some changes since the tutorial was written.
| [reply] |
Hi,
indeed you can use the paragraph method, but like all parts of the pdf::api2 module, it is not to well documented.
at first, all lines where printed on top of each other, but that was because i forgot to add a txt->lead() line
like in
$txt->textstart;
$txt->lead(13);
$txt->font($font{'bold'},10);
$txt->translate($x,$y);
$txt->paragraph("$SysDescr", $TextWidth, $ParagrapHeight,
align => "left"
);
| [reply] |