mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
109 lines
3.0 KiB
HTML
109 lines
3.0 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>Start new page</title>
|
||
</head>
|
||
<body class="docs"><div id="layout">
|
||
<div id="layout-content"><div id="function.pdf-begin-page-ext" class="refentry">
|
||
<div class="refnamediv">
|
||
<h1 class="refname">PDF_begin_page_ext</h1>
|
||
<p class="verinfo">(PECL pdflib >= 2.0.0)</p><p class="refpurpose"><span class="refname">PDF_begin_page_ext</span> — <span class="dc-title">Start new page</span></p>
|
||
|
||
</div>
|
||
<div class="refsect1 description" id="refsect1-function.pdf-begin-page-ext-description">
|
||
<h3 class="title">说明</h3>
|
||
<div class="methodsynopsis dc-description">
|
||
<span class="methodname"><strong>PDF_begin_page_ext</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">$width</code></span>
|
||
, <span class="methodparam"><span class="type">float</span> <code class="parameter">$height</code></span>
|
||
, <span class="methodparam"><span class="type">string</span> <code class="parameter">$optlist</code></span>
|
||
) : <span class="type">bool</span></div>
|
||
|
||
<p class="para rdfs-comment">
|
||
Adds a new page to the document, and specifies various options.
|
||
The parameters <code class="parameter">width</code> and <code class="parameter">height</code>
|
||
are the dimensions of the new page in points. 成功时返回 <strong><code>TRUE</code></strong>, 或者在失败时返回 <strong><code>FALSE</code></strong>。
|
||
</p>
|
||
<p class="para">
|
||
<table class="doctable table">
|
||
<caption><strong>Common Page Sizes in Points</strong></caption>
|
||
|
||
<thead>
|
||
<tr>
|
||
<th>name</th>
|
||
<th>size</th>
|
||
</tr>
|
||
|
||
</thead>
|
||
|
||
<tbody class="tbody">
|
||
<tr>
|
||
<td>A0</td>
|
||
<td>2380 x 3368</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>A1</td>
|
||
<td>1684 x 2380</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>A2</td>
|
||
<td>1190 x 1684</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>A3</td>
|
||
<td>842 x 1190</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>A4</td>
|
||
<td>595 x 842</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>A5</td>
|
||
<td>421 x 595</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>A6</td>
|
||
<td>297 x 421</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>B5</td>
|
||
<td>501 x 709</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>letter (8.5" x 11")</td>
|
||
<td>612 x 792</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>legal (8.5" x 14")</td>
|
||
<td>612 x 1008</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>ledger (17" x 11")</td>
|
||
<td>1224 x 792</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<td>11" x 17"</td>
|
||
<td>792 x 1224</td>
|
||
</tr>
|
||
|
||
</tbody>
|
||
|
||
</table>
|
||
|
||
</p>
|
||
</div>
|
||
|
||
</div></div></div></body></html> |