setasign\SetaPDF2\FormFiller\Field
VariableTextTrait A trait for variable text properties of fields
File: /SetaPDF v2/FormFiller/Field/VariableTextTrait.php
Old class name (alias):
\SetaPDF_FormFiller_Field_VariableTextTrait
Used in
Summary
Methods
setAlign()
Set the field alignment.
Parameters
- $align : string
Possible values are: \setasign\SetaPDF2\Core\Text\Text::ALIGN_LEFT, \setasign\SetaPDF2\Core\Text\Text::ALIGN_CENTER, \setasign\SetaPDF2\Core\Text\Text::ALIGN_RIGHT.
- $recreateAppearanceOnChange : bool
Exceptions
Throws \setasign\SetaPDF2\Core\Exception
Throws \setasign\SetaPDF2\Core\Font\Exception
Throws \setasign\SetaPDF2\Core\Parser\Pdf\InvalidTokenException
Throws \setasign\SetaPDF2\Core\SecHandler\Exception
Throws \setasign\SetaPDF2\Core\Type\Exception
Throws \setasign\SetaPDF2\Core\Type\IndirectReference\Exception
Throws \setasign\SetaPDF2\NotImplementedException
Throws \setasign\SetaPDF2\FormFiller\Exception
Throws Exception