In the heading row of my table the second two headers are vertical but teh height isn't large enought to fit the letters in. How do I make the height big enough to fir it in? Thanks. I tried fitText
In the heading row of my table the second two headers are vertical but teh height isn't large enought to fit the letters in. How do I make the height big enough to fir it in? Thanks. I tried fitText
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.