Re: drawText() and getTextBox() question
Hi,
Can't you use the TEXT_ALIGN_MIDDLEMIDDLE (or TOPMIDDLE / BOTTOMMIDDLE) parameter of the drawText() function? If we assume that your image is size is ($Width,$Height) you can do :
Code:
$myPicture->drawText($Width/2,20,"Your Title",array("Align"=>TEXT_ALIGN_TOPMIDDLE));
Kind regards,
JD.