http://www.perlmonks.org?node_id=649104


in reply to Creating Headers and text above images in RTF format

ok I got close, I tried this code that gives me part of the image and the text on the other side of the page
$fh->print(\'\titlepg'); $fh->paragraph( \'\pard\pvmrg\phmrg\posxc\posyc\qc', + 'Company Name', ); $fh->paragraph( \'\background', $fh->image( 'filename' => "images/CoreIO_front.png", " +wgoal" => inches(8.5), "hgoal" => inches(10),), );
this will give me text on the bottom of the image
$fh->paragraph( \'\pard\pvmrg\phmrg\posxc\posyc\qc', $fh->image( 'filename' => "images/CoreIO_front.png", " +wgoal" => inches(8.5), "hgoal" => inches(10),), 'Company Name', );
but still can get it to go on top of the image