Forum


Replies: 2   Views: 2110
Row height in table
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  · 17-01-2020 - 18:16

Hello,

You can use height and minHeight options available in the rowProperties parameter. You can read about these options on the API page (https://www.phpdocx.com/api-documentation/word-content/add-table-Word-document-with-PHP) and a sample using the first one.

The table should fit contents automatically unless some option or style to force them is used. The trial package doesn't include free support for this kind of task, but after purchasing a license you can send a sample code you are running to contact[at]phpdocx.com and we'll be able to help you to find the source of the problem and a solution.

Regards.