• ? ps_add_launchlink
  • ps_add_note ?
  • 锟斤拷锟斤拷学院 www.cainiaoplay.com
  • PHP Manual
  • PS 锟斤拷锟斤拷
  • Adds link to a page in the same document

ps_add_locallink

(PECL ps >= 1.1.0)

ps_add_locallink — Adds link to a page in the same document

说锟斤拷

ps_add_locallink ( resource $psdoc , float $llx , float $lly , float $urx , float $ury , int $page , string $dest ) : bool

Places a hyperlink at the given position pointing to a page in the same document. Clicking on the link will jump to the given page. The first page in a document has number 1.

The hyperlink's source position is a rectangle with its lower left corner at (llx, lly) and its upper right corner at (urx, ury). The rectangle has by default a thin blue border.

锟斤拷说锟斤拷锟斤拷锟侥碉拷锟斤拷锟斤拷印锟斤拷锟斤拷示时锟斤拷锟缴硷拷锟斤拷只锟斤拷锟侥碉拷锟斤拷 Acrobat Distiller 锟斤拷 Ghostview 转锟斤拷锟斤拷 PDF 时锟斤拷示锟斤拷

锟斤拷锟斤拷

psdoc

Resource identifier of the postscript file as returned by ps_new().

llx

The x-coordinate of the lower left corner.

lly

The y-coordinate of the lower left corner.

urx

The x-coordinate of the upper right corner.

ury

The y-coordinate of the upper right corner.

page

The number of the page displayed when clicking on the link.

dest

The parameter dest determines how the document is being viewed. It can be fitpage, fitwidth, fitheight, or fitbbox.

锟斤拷锟斤拷值

锟缴癸拷时锟斤拷锟斤拷 TRUE锟斤拷 锟斤拷锟斤拷锟斤拷失锟斤拷时锟斤拷锟斤拷 FALSE锟斤拷

锟轿硷拷

  • ps_add_launchlink() - Adds link which launches file
  • ps_add_pdflink() - Adds link to a page in a second pdf document
  • ps_add_weblink() - Adds link to a web location