API Documentation

Pdf/Destination/Zoom.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: Zoom.php 20096 2010-01-06 02:05:09Z bkarwin $
Classes
Zend_Pdf_Destination_Zoom

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_Zoom

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
getTopEdge
setTopEdge
getZoomFactor
setZoomFactor

Description

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.

Methods

create

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

Create destination object

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

getLeftEdge

getLeftEdge( ) : float

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

Output
float
Details
visibility
public
final
false
static
false

getTopEdge

getTopEdge( ) : float

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

Output
float
Details
visibility
public
final
false
static
false

getZoomFactor

getZoomFactor( ) : float

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

Output
float
Details
visibility
public
final
false
static
false

setLeftEdge

setLeftEdge( float $left ) : Zend_Pdf_Action_Zoom

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

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

setTopEdge

setTopEdge( float $top ) : Zend_Pdf_Action_Zoom

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

Arguments
$top
float
Output
Zend_Pdf_Action_Zoom
Details
visibility
public
final
false
static
false

setZoomFactor

setZoomFactor( float $zoom ) : Zend_Pdf_Action_Zoom

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

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