Exemplo n.º 1
0
 /**
  * Put a link on the page
  *
  * @param  $x
  * @param  $y
  * @param  $w
  * @param  $h
  * @param  $link
  * @return $this
  */
 public function link($x, $y, $w, $h, $link)
 {
     $scaleFactor = $this->_pdfDocument->getScaleFactor();
     $this->pageLinks[] = array($x * $scaleFactor, $this->_hPt - $y * $scaleFactor, $w * $scaleFactor, $h * $scaleFactor, $link);
     return $this;
 }