Replies: 5   Views: 5869
"spacing_top" and "spacing_bottom" options for addtext function
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by nicolas  · 29-04-2011 - 11:09


It will be very usefull to control the spacing (top and bottom) for a paragraph.
By default, all text generated (via addText function) has a spacing_top=0pt and spacing_bottom=10pt. At the moment, we can not change the values with PHPDOCX.