public function __construct(PHPRtfLite $rtf, $stream, $width = null, $height = null) { $this->_rtf = $rtf; $this->_stream = $stream; $this->_width = $width; $this->_height = $height; }
/** * constructor * * @param PHPRtfLite $rtf * @param resource $stream * @param float $width optional * @param float $height optional */ public function __construct(PHPRtfLite $rtf, $stream, $width = null, $height = null) { parent::__construct($rtf, $stream, $width, $height); $this->_imageRtfType = '\\wmetafile8'; $this->setImageDimension(); }