Manuals

 

SetaPDF_TextStamp::setAlign()

Description

class SetaPDF_TextStamp extends SetaPDF_Stamp {
mixed setAlign ( float $align ) }

The value which is passed to this method only takes affect, if the text is a multilinetext. With this method you can define the alignment of the text.

Parameters

$align

Allows to center or align the text. Possible values are:

  • L / left: left align (default value)
  • C / center: center
  • R / right: right align

Return value

True, if everythings works as expected. A SetaPDF_Error object if an error occurs.