Manuals

 

SetaPDF_TextStamp::setFontStyle()

Description

class SetaPDF_TextStamp extends SetaPDF_Stamp {
mixed setFontStyle ( string $fontstyle ) }

Sets the fontstyle of the font.

Parameters

$fontstyle

The fontstyle of the given font. Possible values are:

  • empty string: regular
  • B: bold
  • I: italic

or any combination. Bold and italic styles do not apply to Symbol and ZapfDingbats

Return value

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