API Documentation

Zend/Pdf/Destination/Fit.php

Show: inherited
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 license@zend.com so we can send you a copy immediately.

Category
Zend  
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Pdf  
Subpackage
Destination  
Version
$Id: Fit.php 24594 2012-01-05 21:27:01Z matthew $  

\Zend_Pdf_Destination_Fit

Package: Zend\Pdf\Destination

Zend_Pdf_Destination_Fit explicit detination

Destination array: [page /Fit]

Display the page designated by page, with its contents magnified just enough to fit the entire page within the window both horizontally and vertically. If the required horizontal and vertical magnification factors are different, use the smaller of the two, centering the page within the window in the other dimension.

Parent(s)
\Zend_Pdf_Destination_Explicit < \Zend_Pdf_Destination < \Zend_Pdf_Target
Copyright
Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Methods

methodpubliccreate( \Zend_Pdf_Page|integer $page ) : \Zend_Pdf_Destination_Fit
static

Create destination object

Parameters
Name Type Description
$page \Zend_Pdf_Page|integer

Page object or page number

Returns
Type Description
\Zend_Pdf_Destination_Fit
Throws
Exception Description
\Zend_Pdf_Exception
Documentation was generated by DocBlox 0.15.1.