TCPDF::TextField( $name, $w, $h, $prop = array(), $opt = array(), $x = '', $y = '', $js = false )
Creates a text field
Description Description
Parameters Parameters
- $name
-
(Required) (string) field name
- $w
-
(Required) (float) Width of the rectangle
- $h
-
(Required) (float) Height of the rectangle
- $prop
-
(Optional) (array) javascript field properties. Possible values are described on official Javascript for Acrobat API reference.
Default value: array()
- $opt
-
(Optional) (array) annotation parameters. Possible values are described on official PDF32000_2008 reference.
Default value: array()
- $x
-
(Optional) (float) Abscissa of the upper-left corner of the rectangle
Default value: ''
- $y
-
(Optional) (float) Ordinate of the upper-left corner of the rectangle
Default value: ''
- $js
-
(Optional) (boolean) if true put the field using JavaScript (requires Acrobat Writer to be rendered).
Default value: false
Source Source
File: includes/lib/tcpdf/tcpdf.php
Changelog Changelog
Version | Description |
---|---|
4.8.000 | Introduced. |