perlquestion
shibu_pu
Hi,<br><br>
<p>In the PDF::API2 module, is there any way to align the paragraph vertically in the given region?</p>
Example<br><br>
<code>
$txt->font($font, $fontsize);<br>
$txt->lead($lead);<br>
$txt->translate($x, $y);<br>
$overflow = $txt->paragraph('long paragraph here ...', $width, $height, -align => 'center');
</code>
<p>-align is for horizontal alignment. I need the paragraph aligned vertically also, like -valign => 'middle'.</p>
Can anybody help?