mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
38 lines
2.3 KiB
HTML
38 lines
2.3 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
||
<html>
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
||
<title>Add weblink for current page [deprecated]</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.pdf-add-weblink" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">PDF_add_weblink</h1>
|
||
<p class="verinfo">(PHP 4, PECL pdflib >= 1.0.0)</p><p class="refpurpose"><span class="refname">PDF_add_weblink</span> — <span class="dc-title">Add weblink for current page [deprecated]</span></p>
|
||
|
||
</div>
|
||
<div class="refsect1 description" id="refsect1-function.pdf-add-weblink-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>PDF_add_weblink</strong></span>
|
||
( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$pdfdoc</code></span>
|
||
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$lowerleftx</code></span>
|
||
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$lowerlefty</code></span>
|
||
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$upperrightx</code></span>
|
||
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$upperrighty</code></span>
|
||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$url</code></span>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
Adds a weblink annotation to a target <code class="parameter">url</code> on the Web.
|
||
成功时返回 <strong><code>TRUE</code></strong>, 或者在失败时返回 <strong><code>FALSE</code></strong>。
|
||
</p>
|
||
<p class="para">
|
||
This function is deprecated since PDFlib version 6, use
|
||
<span class="function"><a href="pdf_create_action.html" class="function">PDF_create_action()</a></span> with <code class="parameter">type=URI</code>
|
||
and <span class="function"><a href="pdf_create_annotation.html" class="function">PDF_create_annotation()</a></span> with
|
||
<code class="parameter">type=Link</code> instead.
|
||
</p>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |