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.

package Zend_Pdf
subpackage Destination
copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
license New BSD License
inherited_from \Zend_Pdf_Destination

 Methods

Named destination object constructor

__construct(\Zend_Pdf_Element $resource) 

Parameters

$resource

\Zend_Pdf_Element

Exceptions

\Zend_Pdf_Exception

Create named destination object

create(string $name) : \Zend_Pdf_Destination_Named
Static

Parameters

$name

string

Returns

\Zend_Pdf_Destination_Named

Get name

getName() : \Zend_Pdf_Element

Returns

\Zend_Pdf_Element

Parse resource and return it as an Action or Explicit Destination

load(\Zend_Pdf_Element $resource) : \Zend_Pdf_Destination
InheritedStatic

$param Zend_Pdf_Element $resource

Parameters

$resource

Exceptions

\Zend_Pdf_Exception

Returns

\Zend_Pdf_Destination

 Properties

 

Destination name

$_nameElement : \Zend_Pdf_Element_Name | \Zend_Pdf_Element_String

Default