ң

cpdf_add_outline

(PHP 3>= 3.0.9, PHP 4)

cpdf_add_outline - /bookmark .

void cpdf_add_outline (int pdf document, string text)

cpdf_add_outline() text , .

1.
<?php $cpdf = cpdf_open(0); cpdf_page_init($cpdf, 1, 0, 595, 842); cpdf_add_outline($cpdf, 0, 0, 0, 1, "Page 1"); // ... // // ... cpdf_finalize($cpdf); Header("Content-type: application/pdf"); cpdf_output_buffer($cpdf); cpdf_close($cpdf); ?>

ң
cpdf_add_annotation cpdf_arc