PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

PDF_add_pdflink> <PDF_add_note
Last updated: Fri, 22 Aug 2008

view this page in

PDF_add_outline

(PHP 4, PECL pdflib:1.0-2.1.3)

PDF_add_outlineAdds bookmark for current page

Description

int pdf_add_outline ( int $pdf document , string $text [, int $parent [, int $open ]] )

The PDF_add_outline() function adds a bookmark with text text that points to the current page. The bookmark is inserted as a child of parent and is by default open if open is not 0. The return value is an identifier for the bookmark which can be used as a parent for other bookmarks. Therefore you can build up hierarchies of bookmarks.

Unfortunately pdflib does not make a copy of the string, which forces PHP to allocate the memory. Currently this piece of memory is not been freed by any PDF function but it will be taken care of by the PHP memory manager.



add a note add a note User Contributed Notes
PDF_add_outline
There are no user contributed notes for this page.

PDF_add_pdflink> <PDF_add_note
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites