Manuals

 

SetaPDF_TextField::setTranslateLeading()

Description

class SetaPDF_TextField extends SetaPDF_FormField {
void setTranslateLeading ( integer $translateLeading ) }

In some cases the API cannot recalculate the desired leading of a font in a specific formfield.

This method can be used to adjust this kind of leading.

Be aware that nearly every Acrobat Reader version handles leading in multiline textfields in a different way.

Also see SetaPDF_FormFiller::setCompatMode()

Parameters

$translateLeading

The translation of the leading in pt.