Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

cpdf_add_outline

(PHP 3>= 3.0.9, PHP 4 , PHP 5)

cpdf_add_outline --  Fügt ein Lesezeichen für die aktuelle Seite hinzu

Beschreibung

int cpdf_add_outline ( int PDF-Dokument, int lastoutline, int sublevel, int open, int Seitennummer, string Text)

Die Funktion cpdf_add_outline() fügt ein Lesezeichen mit dem Text Text hinzu, das auf die aktuelle Seite zeigt.

Beispiel 1. Hinzufügen einer Seitenübersicht

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

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "PHP Handbuch". See Index Page for more info about Authorship and Copyright.

1999-2009 Linuxinfor.com. No rights reserved.