A text annotation represents a "sticky note" attached to a point in the PDF document.
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.
package | Zend_Pdf |
---|---|
subpackage | Annotation |
copyright | Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com) |
license | New BSD License |
inherited_from | \Zend_Pdf_Annotation |
__construct(\Zend_Pdf_Element $annotationDictionary)
inherited_from | \Zend_Pdf_Annotation::__construct() |
---|
\Zend_Pdf_Exception |
---|
__construct(\Zend_Pdf_Element $annotationDictionary)
\Zend_Pdf_Exception |
---|
create(float $x1, float $y1, float $x2, float $y2, string $text) : \Zend_Pdf_Annotation_Text
float
float
float
float
string
\Zend_Pdf_Annotation_Text
getBottom() : float
float
getLeft() : float
float
getRight() : float
float
getText() : string
string
getTop() : float
float
setBottom(float $bottom) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
setLeft(float $left) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
setRight(float $right) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
setText(string $text) : \Zend_Pdf_Annotation
string
\Zend_Pdf_Annotation
setTop(float $top) : \Zend_Pdf_Annotation
float
\Zend_Pdf_Annotation
$_annotationDictionary : \Zend_Pdf_Element_Dictionary | \Zend_Pdf_Element_Object | \Zend_Pdf_Element_Reference