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 |
__construct(\Zend_Pdf_Element $destinationArray)
\Zend_Pdf_Element
\Zend_Pdf_Exception |
---|
create(\Zend_Pdf_Page|integer $page, float $left, float $bottom, float $right, float $top) : \Zend_Pdf_Destination_FitRectangle
\Zend_Pdf_Page
integer
Page object or page number
float
Left edge of displayed page
float
Bottom edge of displayed page
float
Right edge of displayed page
float
Top edge of displayed page
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Destination_FitRectangle
getBottomEdge() : float
float
getLeftEdge() : float
float
getRightEdge() : float
float
getTopEdge() : float
float
isRemote() : boolean
boolean
load(\Zend_Pdf_Element $resource) : \Zend_Pdf_Destination
$param Zend_Pdf_Element $resource
\Zend_Pdf_Exception |
---|
\Zend_Pdf_Destination
setBottomEdge(float $bottom) : \Zend_Pdf_Action_FitRectangle
float
\Zend_Pdf_Action_FitRectangle
setLeftEdge(float $left) : \Zend_Pdf_Action_FitRectangle
float
\Zend_Pdf_Action_FitRectangle
setRightEdge(float $right) : \Zend_Pdf_Action_FitRectangle
float
\Zend_Pdf_Action_FitRectangle
setTopEdge(float $top) : \Zend_Pdf_Action_FitRectangle
float
\Zend_Pdf_Action_FitRectangle
$_destinationArray : \Zend_Pdf_Element_Array
$_isRemote : boolean