Zend Framework  1.12
Public Member Functions | Static Public Member Functions | List of all members
Zend_Pdf_Destination_FitRectangle Class Reference

Public Member Functions

 getLeftEdge ()
 Get left edge of the displayed page.
 
 setLeftEdge ($left)
 Set left edge of the displayed page.
 
 getBottomEdge ()
 Get bottom edge of the displayed page.
 
 setBottomEdge ($bottom)
 Set bottom edge of the displayed page.
 
 getRightEdge ()
 Get right edge of the displayed page.
 
 setRightEdge ($right)
 Set right edge of the displayed page.
 
 getTopEdge ()
 Get top edge of the displayed page.
 
 setTopEdge ($top)
 Set top edge of the displayed page.
 
- Public Member Functions inherited from Zend_Pdf_Destination_Explicit
 __construct (Zend_Pdf_Element $destinationArray)
 Explicit destination object constructor.
 
 isRemote ()
 Returns true if it's a remote destination.
 
 getResource ()
 Get resource.
 

Static Public Member Functions

static create ($page, $left, $bottom, $right, $top)
 Create destination object.
 

Additional Inherited Members

- Protected Attributes inherited from Zend_Pdf_Destination_Explicit
 $_destinationArray
 
 $_isRemote
 

Member Function Documentation

static create (   $page,
  $left,
  $bottom,
  $right,
  $top 
)
static

Create destination object.

Parameters
Zend_Pdf_Page | integer$pagePage object or page number
float$leftLeft edge of displayed page
float$bottomBottom edge of displayed page
float$rightRight edge of displayed page
float$topTop edge of displayed page
Returns
Zend_Pdf_Destination_FitRectangle
Exceptions
Zend_Pdf_Exception
getBottomEdge ( )

Get bottom edge of the displayed page.

Returns
float
getLeftEdge ( )

Get left edge of the displayed page.

Returns
float
getRightEdge ( )

Get right edge of the displayed page.

Returns
float
getTopEdge ( )

Get top edge of the displayed page.

Returns
float
setBottomEdge (   $bottom)

Set bottom edge of the displayed page.

Parameters
float$bottom
Returns
Zend_Pdf_Action_FitRectangle
setLeftEdge (   $left)

Set left edge of the displayed page.

Parameters
float$left
Returns
Zend_Pdf_Action_FitRectangle
setRightEdge (   $right)

Set right edge of the displayed page.

Parameters
float$right
Returns
Zend_Pdf_Action_FitRectangle
setTopEdge (   $top)

Set top edge of the displayed page.

Parameters
float$top
Returns
Zend_Pdf_Action_FitRectangle