Replies: 1   Views: 3390
Setbackgroundcolor() is not working.
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 colinfobg  · 06-07-2014 - 16:11

Does it not work with templates? v3.7 Pro. $docx->setBackgroundColor('FFB6C1'); // PALE PINK...comes out white. Thanks for any assistance, Colin

Posted by admin  · 07-07-2014 - 06:25

Hello, No, you can't set the background color in a template using phpocx 3.7. This is a feature available in phpdocx 4.0. We recommend you to upgrade to this new version that includes a lot of new features. Regards.