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.
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.
create(
Zend_Pdf_Page|integer $page, float $left, float $bottom, float $right, float $top
)
:
Zend_Pdf_Destination_FitRectangleCreate destination object
DetailsgetBottomEdge(
)
:
floatGet bottom edge of the displayed page
DetailsgetLeftEdge(
)
:
floatGet left edge of the displayed page
DetailsgetRightEdge(
)
:
floatGet right edge of the displayed page
DetailsgetTopEdge(
)
:
floatGet top edge of the displayed page
DetailssetBottomEdge(
float $bottom
)
:
Zend_Pdf_Action_FitRectangleSet bottom edge of the displayed page
DetailssetLeftEdge(
float $left
)
:
Zend_Pdf_Action_FitRectangleSet left edge of the displayed page
DetailssetRightEdge(
float $right
)
:
Zend_Pdf_Action_FitRectangleSet right edge of the displayed page
DetailssetTopEdge(
float $top
)
:
Zend_Pdf_Action_FitRectangleSet top edge of the displayed page
Details