Fix documented unit for image height/width

This commit is contained in:
Frank Liepert 2018-04-10 11:18:37 +02:00
parent 67b18c32e7
commit 853fcec1b6
2 changed files with 3 additions and 2 deletions

View File

@ -35,6 +35,7 @@ v0.15.0 (?? ??? 2018)
### Changed ### Changed
- Remove zend-stdlib dependency @Trainmaster #1284 - Remove zend-stdlib dependency @Trainmaster #1284
- The default unit for `\PhpOffice\PhpWord\Style\Image` changed from `px` to `pt`.
v0.14.0 (29 Dec 2017) v0.14.0 (29 Dec 2017)

View File

@ -149,10 +149,10 @@ Image
Available Image style options: Available Image style options:
- ``alignment``. See ``\PhpOffice\PhpWord\SimpleType\Jc`` class for the details. - ``alignment``. See ``\PhpOffice\PhpWord\SimpleType\Jc`` class for the details.
- ``height``. Height in pixels. - ``height``. Height in *pt*.
- ``marginLeft``. Left margin in inches, can be negative. - ``marginLeft``. Left margin in inches, can be negative.
- ``marginTop``. Top margin in inches, can be negative. - ``marginTop``. Top margin in inches, can be negative.
- ``width``. Width in pixels. - ``width``. Width in *pt*.
- ``wrappingStyle``. Wrapping style, *inline*, *square*, *tight*, *behind*, or *infront*. - ``wrappingStyle``. Wrapping style, *inline*, *square*, *tight*, *behind*, or *infront*.
- ``wrapDistanceTop``. Top text wrapping in pixels. - ``wrapDistanceTop``. Top text wrapping in pixels.
- ``wrapDistanceBottom``. Bottom text wrapping in pixels. - ``wrapDistanceBottom``. Bottom text wrapping in pixels.