Manuals

 

SetaPDF_PdfStamp::setWidth()

Description

class SetaPDF_PdfStamp extends SetaPDF_Stamp {
mixed setWidth ( float $width[, boolean $aspectRatio=true] ) }

An alias for SetaPDF_PdfStamp::setDimensions($width, null, $aspectRatio)

Parameters

$width

The width in points.

$aspectRatio

Keep aspect ratio.

Return value

An array holding the new dimensions of the stamp. The key 'w' holds the width and the key 'h' holds the height.