API Documentation

Pdf/Destination/FitRectangle.php

Includes Classes 
category
Zend
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
subpackage
Destination
version
$Id: FitRectangle.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Destination_FitRectangle

Description

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

Extends from
Zend_Pdf_Destination_Explicit
copyright
Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
license
http://framework.zend.com/license/new-bsd New BSD License
package
Zend_Pdf
subpackage
Destination
Methods
create
getLeftEdge
setLeftEdge
getBottomEdge
setBottomEdge
getRightEdge
setRightEdge
getTopEdge
setTopEdge

Description

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.

Methods

create

create( Zend_Pdf_Page|integer $page, float $left, float $bottom, float $right, float $top ) : Zend_Pdf_Destination_FitRectangle

Create destination object

Arguments
$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
Details
visibility
public
final
false
static
true
throws

getBottomEdge

getBottomEdge( ) : float

Get bottom edge of the displayed page

Output
float
Details
visibility
public
final
false
static
false

getLeftEdge

getLeftEdge( ) : float

Get left edge of the displayed page

Output
float
Details
visibility
public
final
false
static
false

getRightEdge

getRightEdge( ) : float

Get right edge of the displayed page

Output
float
Details
visibility
public
final
false
static
false

getTopEdge

getTopEdge( ) : float

Get top edge of the displayed page

Output
float
Details
visibility
public
final
false
static
false

setBottomEdge

setBottomEdge( float $bottom ) : Zend_Pdf_Action_FitRectangle

Set bottom edge of the displayed page

Arguments
$bottom
float
Output
Zend_Pdf_Action_FitRectangle
Details
visibility
public
final
false
static
false

setLeftEdge

setLeftEdge( float $left ) : Zend_Pdf_Action_FitRectangle

Set left edge of the displayed page

Arguments
$left
float
Output
Zend_Pdf_Action_FitRectangle
Details
visibility
public
final
false
static
false

setRightEdge

setRightEdge( float $right ) : Zend_Pdf_Action_FitRectangle

Set right edge of the displayed page

Arguments
$right
float
Output
Zend_Pdf_Action_FitRectangle
Details
visibility
public
final
false
static
false

setTopEdge

setTopEdge( float $top ) : Zend_Pdf_Action_FitRectangle

Set top edge of the displayed page

Arguments
$top
float
Output
Zend_Pdf_Action_FitRectangle
Details
visibility
public
final
false
static
false
Documentation was generated by DocBlox.