Manuals

 

SetaPDF_TextStamp::setTextWidth()

Description

class SetaPDF_TextStamp extends SetaPDF_Stamp {
void setTextWidth ( float $textWidth ) }

This method can be used to calculate the fontsize by a given width. This method only takes affect if the fontsize is previously (or afterwards) set to -1.

Parameters

$textWidth

The width of the text in points.