TCPDF::setDestination( $name,  $y = -1,  $page = '',  $x = -1 )

Add a Named Destination.


Description Description

NOTE: destination names are unique, so only last entry will be saved.


Parameters Parameters

$name

(Required) (string) Destination name.

$y

(Optional) (float) Y position in user units of the destiantion on the selected page (default = -1 = current position; 0 = page start;).

Default value: -1

$page

(Optional) (int|string) Target page number (leave empty for current page). If you prefix a page number with the
* character, then this page will not be changed when adding/deleting/moving pages.

Default value: ''

$x

(Optional) (float) X position in user units of the destiantion on the selected page (default = -1 = current position;).

Default value: -1


Top ↑

Return Return

((string)) Stripped named destination identifier or false in case of error.


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
5.9.097 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.