How to extract text using Zend_Pdf from pdf page

Posted by Brant on Stack Overflow See other posts from Stack Overflow or by Brant
Published on 2010-03-22T15:41:21Z Indexed on 2010/03/22 21:11 UTC
Read the original article Hit count: 466

Filed under:
|
|
|

Can anyone help with extracting text from a page in a pdf?

<?php
$pdf = Zend_Pdf::load('example.pdf');
$page = $pdf->page[0];

I would assume a page method would exist but I could not find anything to let me extract the contents.

Example: $page->getContents(); $page->toString(); $page->extractText();

...Help!!!! This is driving me crazy!

© Stack Overflow or respective owner

Related posts about php

Related posts about zend-pdf