php-doc-en/reference/pdf/functions/pdf-begin-page.xml
Mehdi Achour 8cc28e49c2 fixing protos
unified deprecated functions layout
adding tags
adding some user notes and examples
corrected c/p errors
fixed some ugly WS
changed the pdf_object notation to pdfdoc to make it less confusing
(thank you philip ;))


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@137061 c90b9560-bf6c-de11-be94-00142212c4b1
2003-08-09 04:31:34 +00:00

110 lines
2.9 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/pdf.xml, last change in rev 1.42 -->
<refentry id="function.pdf-begin-page">
<refnamediv>
<refname>pdf_begin_page</refname>
<refpurpose>Starts new page</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>bool</type><methodname>pdf_begin_page</methodname>
<methodparam><type>resource</type><parameter>pdfdoc</parameter></methodparam>
<methodparam><type>float</type><parameter>width</parameter></methodparam>
<methodparam><type>float</type><parameter>height</parameter></methodparam>
</methodsynopsis>
<para>
Add a new page to the document. &return.success;
The <parameter>width</parameter> and <parameter>height</parameter> are
specified in points, which are 1/72 of an inch.
</para>
<para>
<table>
<title>Common Page Sizes in Points</title>
<tgroup cols="2">
<thead>
<row>
<entry>name</entry>
<entry>size</entry>
</row>
</thead>
<tbody>
<row>
<entry>A0</entry>
<entry>2380&cross;3368</entry>
</row>
<row>
<entry>A1</entry>
<entry>1684&cross;2380</entry>
</row>
<row>
<entry>A2</entry>
<entry>1190&cross;1684</entry>
</row>
<row>
<entry>A3</entry>
<entry>842&cross;1190</entry>
</row>
<row>
<entry>A4</entry>
<entry>595&cross;842</entry>
</row>
<row>
<entry>A5</entry>
<entry>421&cross;595</entry>
</row>
<row>
<entry>A6</entry>
<entry>297&cross;421</entry>
</row>
<row>
<entry>B5</entry>
<entry>501&cross;709</entry>
</row>
<row>
<entry>letter (8.5"&cross;11")</entry>
<entry>612&cross;792</entry>
</row>
<row>
<entry>legal (8.5"&cross;14")</entry>
<entry>612&cross;1008</entry>
</row>
<row>
<entry>ledger (17"&cross;11")</entry>
<entry>1224&cross;792</entry>
</row>
<row>
<entry>11"&cross;17"</entry>
<entry>792&cross;1224</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
<para>
See also <function>pdf_end_page</function>.
</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
-->