Manuals

 

SetaPDF_ImageStamp::setHeight()

Description

class SetaPDF_ImageStamp extends SetaPDF_Stamp {
mixed setHeight ( float $height[, boolean $aspectRatio=true] ) }

An alias for SetaPDF_ImageStamp::setDimensions(null, $height, $aspectRatio)

Parameters

$height

The height in points.

$aspectRatio

Keep aspect ratio.

Return value

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