Pdf/Annotation/Text.php
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.
- Category
- Zend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
- Package
- Zend_Pdf
- Subpackage
- Annotation
- Version
- $Id$
\Zend_Pdf_Annotation_Text
Package: Zend_Pdf\Annotation

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.
- Parent(s)
- \Zend_Pdf_Annotation
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods

__construct( $annotationDictionary) : voidAnnotation object constructor
Parameters
Throws
| Name | Type | Description |
|---|---|---|
| $annotationDictionary |
| Exception | Description |
|---|---|
| \Zend_Pdf_Exception |

create(float $x1, float $y1, float $x2, float $y2, string $text) : \Zend_Pdf_Annotation_Textstatic
Create link annotation object
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $x1 | float | |
| $y1 | float | |
| $x2 | float | |
| $y2 | float | |
| $text | string |
| Type | Description |
|---|---|
| \Zend_Pdf_Annotation_Text |