Zend_Pdf_Destination_FitRectangle explicit detination

Destination array: [page /FitR left bottom right top]

Display the page designated by page, with its contents magnified just enough to fit the rectangle specified by the coordinates left, bottom, right, and top entirely 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 rectangle 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_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, float $bottom, float $right, float $top) : \Zend_Pdf_Destination_FitRectangle
Static

Parameters

$page

\Zend_Pdf_Pageinteger

Page object or page number

$left

float

Left edge of displayed page

$bottom

float

Bottom edge of displayed page

$right

float

Right edge of displayed page

$top

float

Top edge of displayed page

Exceptions

\Zend_Pdf_Exception

Returns

\Zend_Pdf_Destination_FitRectangle

Get bottom edge of the displayed page

getBottomEdge() : float

Returns

float

Get left edge of the displayed page

getLeftEdge() : float

Returns

float

Get right edge of the displayed page

getRightEdge() : float

Returns

float

Get top edge of the displayed page

getTopEdge() : 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 bottom edge of the displayed page

setBottomEdge(float $bottom) : \Zend_Pdf_Action_FitRectangle

Parameters

$bottom

float

Returns

\Zend_Pdf_Action_FitRectangle

Set left edge of the displayed page

setLeftEdge(float $left) : \Zend_Pdf_Action_FitRectangle

Parameters

$left

float

Returns

\Zend_Pdf_Action_FitRectangle

Set right edge of the displayed page

setRightEdge(float $right) : \Zend_Pdf_Action_FitRectangle

Parameters

$right

float

Returns

\Zend_Pdf_Action_FitRectangle

Set top edge of the displayed page

setTopEdge(float $top) : \Zend_Pdf_Action_FitRectangle

Parameters

$top

float

Returns

\Zend_Pdf_Action_FitRectangle

 Properties

 

Destination description array

$_destinationArray : \Zend_Pdf_Element_Array

Default

 

True if it's a remote destination

$_isRemote : boolean

Default