Forum


Replies: 6   Views: 4004
Addtext doesnt make text bold and 20 points fontsize
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 jasonva  · 13-06-2014 - 13:00

I tried to modify the text i add to my docx but the options doesnt work my code: $salutationText = array(); $salutationText[] = array( 'text' => $salutation . ' ' . $survey->getFirstname() . ' ' . $survey->getLastname(), 'bold' => 'true', 'fontSize' => '20' ); $this->addText($salutationText, array('bold' => 'true', 'fontSize' => '20')); i'm using the trial version, isn't it working because i used the trial version?