Zend_Pdf_Destination_Zoom explicit detination

Destination array: [page /XYZ left top zoom]

Display the page designated by page, with the coordinates (left, top) positioned at the upper-left corner of the window and the contents of the page magnified by the factor zoom. A null value for any of the parameters left, top, or zoom specifies that the current value of that parameter is to be retained unchanged. A zoom value of 0 has the same meaning as a null value.

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_Explicit

 Methods

Explicit destination object constructor

__construct(\Zend_Pdf_Element $destinationArray) 
Inherited

Parameters

$destinationArray

\Zend_Pdf_Element

Exceptions

\Zend_Pdf_Exception

Create destination object

create(\Zend_Pdf_Page|integer $page, float $left = null, float $top = null, float $zoom = null) : \Zend_Pdf_Destination_Zoom
Static

Parameters

$page

\Zend_Pdf_Pageinteger

Page object or page number

$left

float

Left edge of displayed page

$top

float

Top edge of displayed page

$zoom

float

Zoom factor

Exceptions

\Zend_Pdf_Exception

Returns

\Zend_Pdf_Destination_Zoom

Get left edge of the displayed page (null means viewer application 'current value')

getLeftEdge() : float

Returns

float

Get top edge of the displayed page (null means viewer application 'current value')

getTopEdge() : float

Returns

float

Get ZoomFactor of the displayed page (null or 0 means viewer application 'current value')

getZoomFactor() : float

Returns

float

Returns true if it's a remote destination

isRemote() : boolean
Inherited

Returns

boolean

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

Set left edge of the displayed page (null means viewer application 'current value')

setLeftEdge(float $left) : \Zend_Pdf_Action_Zoom

Parameters

$left

float

Returns

\Zend_Pdf_Action_Zoom

Set top edge of the displayed page (null means viewer application 'current viewer')

setTopEdge(float $top) : \Zend_Pdf_Action_Zoom

Parameters

$top

float

Returns

\Zend_Pdf_Action_Zoom

Set ZoomFactor of the displayed page (null or 0 means viewer application 'current viewer')

setZoomFactor(float $zoom) : \Zend_Pdf_Action_Zoom

Parameters

$zoom

float

Returns

\Zend_Pdf_Action_Zoom

 Properties

 

Destination description array

$_destinationArray : \Zend_Pdf_Element_Array

Default

 

True if it's a remote destination

$_isRemote : boolean

Default