Forum


Replies: 10   Views: 4368
A paragraph without spacing between lines
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 thetaylor82  · 11-04-2013 - 12:13

I have a problem with the linespacing!

When I simply set the following:
[code]$paramsTextTitle = array(
'b' => 'single',
'lineSpacing' => 120
);
$docx->addText("20$year1 - 20$year2", $paramsTextTitle);[/code]

It just decreases the height of the line, it does not adjust the paragraph line spacing.

[img]https://lh4.googleusercontent.com/-MIM2CC6w2mw/TrF2VuhB_JI/AAAAAAAAAEA/Mbn0x90Zrvs/s158/phpdocx-linespacing.jpg[/img]