TCPDF::ComboBox( $name,  $w,  $h,  $values,  $prop = array(),  $opt = array(),  $x = '',  $y = '',  $js = false )

Creates a Combo-box field


Description Description


Parameters Parameters

$name

(Required) (string) field name

$w

(Required) (int) width

$h

(Required) (int) height

$values

(Required) (array) array containing the list of values.

$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


Top ↑

Source Source

File: includes/lib/tcpdf/tcpdf.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
4.8.000 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.