Properties

$name

$name : string

Field name

Type

string

$width

$width : integer

Text field width

Type

integer

$height

$height : integer

Text field height

Type

integer

$value

$value : string

Field value

Type

string

$defaultValue

$defaultValue : string

Field default value

Type

string

$font

$font : string

Text field font

Type

string

$size

$size : integer

Text field font size

Type

integer

$flagBits

$flagBits : array

Field flag bits

Type

array

Methods

__construct()

__construct(string  $name, string  $font = null, integer  $size = 12) 

Constructor

Instantiate a PDF text field object.

Parameters

string $name
string $font
integer $size

getFont()

getFont() : string

Get the font

Returns

string

getSize()

getSize() : integer

Get the font size

Returns

integer

getName()

getName() : string

Get the field name

Returns

string

getValue()

getValue() : string

Get the field value

Returns

string

getDefaultValue()

getDefaultValue() : string

Get the field default value

Returns

string

getWidth()

getWidth() : integer

Get the field width

Returns

integer

setHeight()

setHeight(integer  $height) : \Pop\Pdf\Document\Page\Field\Text

Set the field height

Parameters

integer $height

Returns

\Pop\Pdf\Document\Page\Field\Text

getHeight()

getHeight() : integer

Get the field height

Returns

integer

getStream()

getStream(integer  $i, integer  $pageIndex, string  $fontReference, integer  $x, integer  $y) : string

Get the field stream

Parameters

integer $i
integer $pageIndex
string $fontReference
integer $x
integer $y

Returns

string

getFlags()

getFlags() : integer

Get the field name

Returns

integer