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.
Abstract PDF annotation representation class
An annotation associates an object such as a note, sound, or movie with a location on a page of a PDF document, or provides a way to interact with the user by means of the mouse and keyboard.
Zend_Pdf_Element_Dictionary|Zend_Pdf_Element_Object|Zend_Pdf_Element_Reference $_annotationDictionary = ''
Annotation dictionary
__construct(
$annotationDictionary
)
:
Annotation object constructor
getBottom(
)
:
float
Get bottom edge of the annotation rectangle.
getLeft(
)
:
float
Get left edge of the annotation rectangle.
getResource(
)
:
Zend_Pdf_Element
Get annotation dictionary
getRight(
)
:
float
Get right edge of the annotation rectangle.
getText(
)
:
string
Return text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
getTop(
)
:
float
Get top edge of the annotation rectangle.
load(
$resource
)
:
Zend_Pdf_Annotation
Load Annotation object from a specified resource
setBottom(
float $bottom
)
:
Zend_Pdf_Annotation
Set bottom edge of the annotation rectangle.
setLeft(
float $left
)
:
Zend_Pdf_Annotation
Set left edge of the annotation rectangle.
setRight(
float $right
)
:
Zend_Pdf_Annotation
Set right edge of the annotation rectangle.
setText(
string $text
)
:
Zend_Pdf_Annotation
Set text to be displayed for the annotation or, if this type of annotation does not display text, an alternate description of the annotation’s contents in human-readable form.
setTop(
float $top
)
:
Zend_Pdf_Annotation
Set top edge of the annotation rectangle.