2002-04-15 00:12:54 +00:00
<?xml version="1.0" encoding="iso-8859-1"?>
2005-12-08 13:45:05 +00:00
<!-- $Revision: 1.5 $ -->
2002-04-15 00:12:54 +00:00
<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 -->
<refentry id= "function.pdf-add-locallink" >
<refnamediv >
<refname > pdf_add_locallink</refname>
2005-12-08 13:45:05 +00:00
<refpurpose > Add link annotation for current page [deprecated]</refpurpose>
2002-04-15 00:12:54 +00:00
</refnamediv>
2005-12-08 13:45:05 +00:00
<refsect1 role= "description" >
&reftitle.description;
2002-04-15 00:12:54 +00:00
<methodsynopsis >
2003-08-09 04:31:34 +00:00
<type > bool</type> <methodname > pdf_add_locallink</methodname>
<methodparam > <type > resource</type> <parameter > pdfdoc</parameter> </methodparam>
<methodparam > <type > float</type> <parameter > lowerleftx</parameter> </methodparam>
<methodparam > <type > float</type> <parameter > lowerlefty</parameter> </methodparam>
<methodparam > <type > float</type> <parameter > upperrightx</parameter> </methodparam>
<methodparam > <type > float</type> <parameter > upperrighty</parameter> </methodparam>
2002-04-15 00:12:54 +00:00
<methodparam > <type > int</type> <parameter > page</parameter> </methodparam>
<methodparam > <type > string</type> <parameter > dest</parameter> </methodparam>
</methodsynopsis>
<para >
2003-08-09 04:31:34 +00:00
Add a link annotation to a target within the current PDF file.
&return.success;
</para>
<para >
<parameter > dest</parameter> is the zoom setting on the destination page,
it can be one of <literal > retain</literal> , <literal > fitpage</literal> ,
<literal > fitwidth</literal> , <literal > fitheight</literal> or
<literal > fitbbox</literal> .
</para>
<para >
2005-12-08 13:45:05 +00:00
This function is deprecated since PDFlib version 6, use <function > pdf_create_action</function> with <parameter > type=GoTo</parameter> and <function > pdf_create_annotation</function> with <parameter > type=Link</parameter> instead.
2002-04-15 00:12:54 +00:00
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->