<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.ps.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'en',
  ),
  'this' => 
  array (
    0 => 'function.ps-set-border-style.php',
    1 => 'ps_set_border_style',
    2 => 'Sets border style of annotations',
  ),
  'up' => 
  array (
    0 => 'ref.ps.php',
    1 => 'PS Functions',
  ),
  'prev' => 
  array (
    0 => 'function.ps-set-border-dash.php',
    1 => 'ps_set_border_dash',
  ),
  'next' => 
  array (
    0 => 'function.ps-set-info.php',
    1 => 'ps_set_info',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/ps/functions/ps-set-border-style.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.ps-set-border-style" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ps_set_border_style</h1>
  <p class="verinfo">(PECL ps &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">ps_set_border_style</span> &mdash; <span class="dc-title">Sets border style of annotations</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-function.ps-set-border-style-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>ps_set_border_style</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.resource.php" class="type resource">resource</a></span> <code class="parameter">$psdoc</code></span>, <span class="methodparam"><span class="type"><a href="language.types.string.php" class="type string">string</a></span> <code class="parameter">$style</code></span>, <span class="methodparam"><span class="type"><a href="language.types.float.php" class="type float">float</a></span> <code class="parameter">$width</code></span>): <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span></div>

  <p class="para rdfs-comment">
   Links added with one of the functions <span class="function"><a href="function.ps-add-weblink.php" class="function">ps_add_weblink()</a></span>,
   <span class="function"><a href="function.ps-add-pdflink.php" class="function">ps_add_pdflink()</a></span>, etc. will be displayed with a
   surounded rectangle when the postscript document is converted to
   pdf and viewed in a pdf viewer. This rectangle is not visible in
   the postscript document.
   This function sets the appearance and width of the border line.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.ps-set-border-style-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>
    
     <dt><code class="parameter">psdoc</code></dt>
     <dd>
      <p class="para">
       Resource identifier of the postscript file
       as returned by <span class="function"><a href="function.ps-new.php" class="function">ps_new()</a></span>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">style</code></dt>
     <dd>
      <p class="para">
       <code class="parameter">style</code> can be <code class="literal">solid</code> or
       <code class="literal">dashed</code>.
      </p>
     </dd>
    
    
     <dt><code class="parameter">width</code></dt>
     <dd>
      <p class="para">
       The line width of the border. 
      </p>
     </dd>
    
   </dl>
  </p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.ps-set-border-style-returnvalues">
  <h3 class="title">Return Values</h3>
  <p class="para">
   Returns <strong><code><a href="reserved.constants.php#constant.true">true</a></code></strong> on success or <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> on failure.
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.ps-set-border-style-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.ps-set-border-color.php" class="function" rel="rdfs-seeAlso">ps_set_border_color()</a> - Sets color of border for annotations</span></li>
    <li><span class="function"><a href="function.ps-set-border-dash.php" class="function" rel="rdfs-seeAlso">ps_set_border_dash()</a> - Sets length of dashes for border of annotations</span></li>
   </ul>
  </p>
 </div>

</div><?php manual_footer($setup); ?>