Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 5495

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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>Creates a new PostScript document object</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ps-moveto.html">ps_moveto</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ps-open-file.html">ps_open_file</a></div>
 <div class="up"><a href="ref.ps.html">PS Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.ps-new" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_new</h1>
  <p class="verinfo">(PECL ps &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ps_new</span> &mdash; <span class="dc-title">Creates a new PostScript document object</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-new-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">resource</span> <span class="methodname"><strong>ps_new</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   Creates a new document instance. It does not create the file on disk or in
   memory, it just sets up everything.  <span class="function"><strong>ps_new()</strong></span> is usually
   followed by a call of  <span class="function"><a href="function.ps-open-file.html" class="function">ps_open_file()</a></span> to actually create
   the postscript document.
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-new-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Resource of PostScript document or <strong><code>FALSE</code></strong> on failure. The return value
   is passed to all other functions as the first argument.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-new-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.ps-delete.html" class="function" rel="rdfs-seeAlso">ps_delete()</a> - Deletes all resources of a PostScript document</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.ps-moveto.html">ps_moveto</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="function.ps-open-file.html">ps_open_file</a></div>
 <div class="up"><a href="ref.ps.html">PS Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>