Source of: /manual/en/function.harudestination-setfitr.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-setfitr.php',
1 => 'HaruDestination::setFitR',
),
'up' =>
array (
0 => 'class.harudestination.php',
1 => 'The HaruDestination class',
),
'prev' =>
array (
0 => 'function.harudestination-setfith.php',
1 => 'HaruDestination::setFitH',
),
'next' =>
array (
0 => 'function.harudestination-setfitv.php',
1 => 'HaruDestination::setFitV',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div id="function.harudestination-setfitr" class="refentry">
<div class="refnamediv">
<h1 class="refname">HaruDestination::setFitR</h1>
<p class="verinfo">(PECL haru >= 0.0.1)</p><p class="refpurpose"><span class="refname">HaruDestination::setFitR</span> — <span class="dc-title">Set the appearance of the page to fit the specified rectangle</span></p>
</div>
<a name="function.harudestination-setfitr.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::setFitR</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">$bottom</tt></span>
, <span class="methodparam"><span class="type">float</span> <tt class="parameter">$right</tt></span>
, <span class="methodparam"><span class="type">float</span> <tt class="parameter">$top</tt></span>
)</div>
<p class="para rdfs-comment">
Defines the appearance of the page to fit the rectangle by the parameters.
</p>
</div>
<a name="function.harudestination-setfitr.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 coordinates of the page.
</p>
</dd>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">bottom</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The bottom coordinates of the page.
</p>
</dd>
<dt class="varlistentry">
<span class="term"><i><tt class="parameter">right</tt></i>
</span>
</dt><dd class="listitem">
<p class="para">
The right coordinates 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 coordinates of the page.
</p>
</dd>
</dl>
<p>
</p>
</div>
<a name="function.harudestination-setfitr.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-setfitr.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(); ?>