Source of: /manual/en/function.harudestination-setxyz.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/class.harudestination.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'function.harudestination-setxyz.php',
1 => 'HaruDestination::setXYZ',
),
'up' =>
array (
0 => 'class.harudestination.php',
1 => 'The HaruDestination class',
),
'prev' =>
array (
0 => 'function.harudestination-setfitv.php',
1 => 'HaruDestination::setFitV',
),
'next' =>
array (
0 => 'book.ming.php',
1 => 'Ming',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.harudestination-setxyz" class="refentry">
<div class="refnamediv">
<h1 class="refname">HaruDestination::setXYZ</h1>
<p class="verinfo">(PECL haru >= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruDestination::setXYZ</span> — <span class="dc-title">Set the appearance of the page</span></p>
</div>
<a name="function.harudestination-setxyz.description"></a><div class="refsect1 description">
<h3 class="title">Description</h3>
<div class="methodsynopsis dc-description">
<span class="type">bool</span> <span class="methodname"><b>HaruDestination::setXYZ</b></span>
( <span class="methodparam"><span class="type">float</span> <tt class="parameter">$left</tt></span>
, <span class="methodparam"><span class="type">float</span> <tt class="parameter">$top</tt></span>
, <span class="methodparam"><span class="type">float</span> <tt class="parameter">$zoom</tt></span>
)</div>
<p class="para rdfs-comment">
Defines the appearance of the page using three parameters:
<i><tt class="parameter">left</tt></i>
, <i><tt class="parameter">top</tt></i>
and
<i><tt class="parameter">zoom</tt></i>
.
</p>
</div>
<a name="function.harudestination-setxyz.parameters"></a><div class="refsect1 parameters">
<h3 class="title">Parameters</h3>
<p class="para">
</p><dl>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">left</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The left position of the page.
</p>
</dd>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">top</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The top position of the page.
</p>
</dd>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">zoom</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The magnification factor. The value must be between 0.08 (8%) and 32
(3200%).
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.harudestination-setxyz.returnvalues"></a><div class="refsect1 returnvalues">
<h3 class="title">Return Values</h3>
<p class="para">
Returns <b><tt class="constant">TRUE</tt></b> on success.
</p>
</div>
<a name="function.harudestination-setxyz.errors"></a><div class="refsect1 errors">
<h3 class="title">Errors/Exceptions</h3>
<p class="para">Throws a <a href="class.haruexception.php" class="classname">HaruException</a> on error.</p>
</div>
</div><?php manual_footer(); ?>