PDF-API2 - Re: Background color in textlabel()?

Posted on Thu Oct 9 10:08:46 2008 by teotwawki in response to 8998 (See the whole thread of 2)
Re: Background color in textlabel()?
You could add a rectangle of white over the unwanted area before adding your new text:
$gfx->strokecolor('white'); $gfx->fillcolor('white'); $gfx->linewidth(0); $gfx->rectxy(161, 84, 161+(72*18/10), 84+7); # above assumes longest previous date is 18 chars at 10cpi $gfx->fillstroke();
I would also recommend adding the new date in the ISO8601 format to avoid confusion, particularly if the documents will have readers throughout the world.
Write a response