cpdf_add_outlinePHP ManualPrevNextcpdf_add_outlinecpdf_add_outline -- Adds bookmark for current pageDescriptionvoid cpdf_add_outline(int pdf document, string text);
The cpdf_add_outline() function adds a bookmark
with text text that points to the current page.
Example 1. Adding a page outline 1
2 <?php
3 $cpdf = cpdf_open(0);
4 cpdf_page_init($cpdf, 1, 0, 595, 842);
5 cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1");
6 // ...
7 // some drawing
8 // ...
9 cpdf_finalize($cpdf);
10 Header("Content-type: application/pdf");
11 cpdf_output_buffer($cpdf);
12 cpdf_close($cpdf);
13 ?>
14 PrevHomeNextcpdf_setrgbcolorUpcpdf_set_page_animation
Wyszukiwarka
Podobne podstrony:
function cpdf add outlinefunction cpdf add outlinefunction cpdf add annotationfunction pdf add outlinefunction pdf add outlinefunction cpdf add annotationfunction cpdf add annotationfunction cpdf clipfunction cpdf place inline imagefunction cpdf set viewer preferencesfunction cpdf closepath strokefunction cpdf openfunction cpdf global set document limitsfunction cpdf setgray fillfunction cpdf closewięcej podobnych podstron