Merge branch 'develop' of https://github.com/PHPOffice/PHPWord into release_0.14

This commit is contained in:
troosan 2017-11-08 00:45:36 +01:00
commit 7b9e262e44
1 changed files with 2 additions and 2 deletions

View File

@ -61,9 +61,9 @@ class Image extends Frame
public function __construct()
{
parent::__construct();
$this->setUnit('px');
$this->setUnit(self::UNIT_PT);
// Backward compatilibity setting
// Backward compatibility setting
// @todo Remove on 1.0.0
$this->setWrap(self::WRAPPING_STYLE_INLINE);
$this->setHPos(self::POSITION_HORIZONTAL_LEFT);