SetaPDF_FormFiller_Field_VariableTextTrait A trait for variable text properties of fields

File: /SetaPDF v2/FormFiller/Field/VariableTextTrait.php

Used in

Summary

Methods

getAlign()

Get the field alignment.

setAlign()

public SetaPDF_FormFiller_Field_VariableTextTrait::setAlign (
string $align [, bool $recreateAppearanceOnChange = true ]
): void

Set the field alignment.

Parameters
$align : string

Possible values are: SetaPDF_Core_Text::ALIGN_LEFT, SetaPDF_Core_Text::ALIGN_CENTER, SetaPDF_Core_Text::ALIGN_RIGHT.

$recreateAppearanceOnChange : bool
 
Exceptions

Throws SetaPDF_Core_Exception

Throws SetaPDF_Core_Font_Exception

Throws SetaPDF_Core_Parser_Pdf_InvalidTokenException

Throws SetaPDF_Core_SecHandler_Exception

Throws SetaPDF_Core_Type_Exception

Throws SetaPDF_Core_Type_IndirectReference_Exception

Throws SetaPDF_Exception_NotImplemented

Throws SetaPDF_FormFiller_Exception

Throws SetaPDF_FormFiller_Field_Exception