Definition at line 44 of file FileAttachment.php.
◆ __construct()
Annotation object constructor
- Exceptions
-
Definition at line 51 of file FileAttachment.php.
54 #require_once 'Zend/Pdf/Exception.php'; 55 throw new Zend_Pdf_Exception(
'Annotation dictionary resource has to be a dictionary.');
58 if ($annotationDictionary->Subtype ===
null ||
60 $annotationDictionary->Subtype->value !=
'FileAttachment') {
61 #require_once 'Zend/Pdf/Exception.php'; 65 parent::__construct($annotationDictionary);
◆ create()
static create |
( |
|
$x1, |
|
|
|
$y1, |
|
|
|
$x2, |
|
|
|
$y2, |
|
|
|
$fileSpecification |
|
) |
| |
|
static |
Create link annotation object
- Parameters
-
float | $x1 | |
float | $y1 | |
float | $x2 | |
float | $y2 | |
string | $fileSpecification | |
- Returns
- Zend_Pdf_Annotation_FileAttachment
Definition at line 78 of file FileAttachment.php.
90 $annotationDictionary->Rect = $rectangle;
96 $annotationDictionary->FS = $fsDictionary;
The documentation for this class was generated from the following file: