ps_add_bookmark(3) php man page | unix.com

Man Page: ps_add_bookmark

Operating Environment: php

Section: 3

PS_ADD_BOOKMARK(3)							 1							PS_ADD_BOOKMARK(3)

ps_add_bookmark - Add bookmark to current page

SYNOPSIS
int ps_add_bookmark (resource $psdoc, string $text, [int $parent], [int $open])
DESCRIPTION
Adds a bookmark for the current page. Bookmarks usually appear in PDF-Viewers left of the page in a hierarchical tree. Clicking on a book- mark will jump to the given page. The note will not be visible if the document is printed or viewed but it will show up if the document is converted to pdf by either Acrobat Distillertm or Ghostview.
PARAMETERS
o $psdoc - Resource identifier of the postscript file as returned by ps_new(3). o $text - The text used for displaying the bookmark. o $parent - A bookmark previously created by this function which is used as the parent of the new bookmark. o $open - If $open is unequal to zero the bookmark will be shown open by the pdf viewer.
RETURN VALUES
The returned value is a reference for the bookmark. It is only used if the bookmark shall be used as a parent. The value is greater zero if the function succeeds. In case of an error zero will be returned.
SEE ALSO
ps_add_launchlink(3), ps_add_pdflink(3), ps_add_weblink(3). PHP Documentation Group PS_ADD_BOOKMARK(3)
Related Man Pages
ps_add_bookmark(3) - php
ps_add_launchlink(3) - php
ps_add_note(3) - php
ps_add_pdflink(3) - php
pdbtxt2html(1) - opensolaris
Similar Topics in the Unix Linux Community
Removing text from a line in a file
Linux C - how to open a pdf file with default reader
cannot open text file
How to examine and open a text file?
Need lot of examples