http://qs321.pair.com?node_id=813011

shibu_pu has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

In the PDF::API2 module, is there any way to align the paragraph vertically in the given region?

Example

$txt->font($font, $fontsize);<br> $txt->lead($lead);<br> $txt->translate($x, $y);<br> $overflow = $txt->paragraph('long paragraph here ...', $width, $height +, -align => 'center');

-align is for horizontal alignment. I need the paragraph aligned vertically also, like -valign => 'middle'.

Can anybody help?