Forum


Replies: 5   Views: 6065
"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 admin-phpdocx  · 12-07-2013 - 13:31

You may include in the $paragraphOptions array of the addText method the spacingTop and spacingBottom parameters.



Beware that they are given in twentieths of a point so if you want a top spacing of 20pt you have to set spacingTop to 400