Forum


Replies: 7   Views: 1411
How to create heading with formatstyles in embedhtml?
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 Robin  · 07-12-2020 - 15:41

Thank you for your response.

I've tried it with 

$docx->addText('This is a text', array('bold' => true, 'headingLevel' => 1));

but the formarting style doesn't appears.

http://prntscr.com/vxlpqb

I would like to have the marked headingLevel. Is this possible?