Pdf/Destination/FitBoundingBoxHorizontally.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to [email protected] so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Subpackage
Destination  
Version
$Id$  

\Zend_Pdf_Destination_FitBoundingBoxHorizontally

Package: Zend_Pdf\Destination
Zend_Pdf_Destination_FitBoundingBoxHorizontally explicit detination
Destination array: [page /FitBH top] (PDF 1.1) Display the page designated by page, with the vertical coordinate top positioned at the top edge of the window and the contents of the page magnified just enough to fit the entire width of its bounding box within the window.
Parent(s)
\Zend_Pdf_Destination_Explicit < \Zend_Pdf_Destination < \Zend_Pdf_Target
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpubliccreate(\Zend_Pdf_Page | integer $page, float $top) : \Zend_Pdf_Destination_FitBoundingBoxHorizontally
static

Create destination object

Parameters
NameTypeDescription
$page\Zend_Pdf_Page | integer

Page object or page number

$topfloat

Top edge of displayed page

Returns
TypeDescription
\Zend_Pdf_Destination_FitBoundingBoxHorizontally
Throws
ExceptionDescription
\Zend_Pdf_Exception
methodpublicgetTopEdge() : float

Get top edge of the displayed page

Returns
TypeDescription
float
methodpublicsetTopEdge(float $top) : \Zend_Pdf_Action_FitBoundingBoxHorizontally

Set top edge of the displayed page

Parameters
NameTypeDescription
$topfloat
Returns
TypeDescription
\Zend_Pdf_Action_FitBoundingBoxHorizontally
Documentation was generated by phpDocumentor 2.2.0 .