How does one use setAlpha correctly? Using zend 1.102 and setAplha
ALWAYS fails with 'Call to undefined method Zend_Pdf_Page::setAlpha()'.
very basic code:
$pdf = new Zend_Pdf();
$pdf->pages[] = ($page1 = $pdf->newPage('letter-landscape'));
$font = Zend_Pdf_Font::fontWithName(Zend_Pdf_Font::FONT_HELVETICA);
$page1->setFont($font, 16);
$page1->drawText('Hello', 72, 72);
$page1->setAlpha(1); // this always fails
header( "Content-type: application/pdf");
header("Content-disposition: pdf; filename=testdraw.pdf;");
header("Cache-Control: no-cache, must-revalidate");
header("Pragma: no-cache");
$pdfData = $pdf->render();
echo $pdfData;
TIA