Hello,
When you create a table from scratch, you can set dynamic aligment. The sample Core/addTable/sample_4.php included in all package illustrates how to do it.
If you need to change the table align of a template, you can use three approaches:
- Use the block type replacement to remove the whole paragraph and replace the placeholder by a new WordFragment with the new align if you are using a Basic, Advanced or Premium license.
- Use DOCXPath to replace the cell content by a new WordFragment with the new alignment if you are using an Advanced or Premium license.
- Use DOCXCustomizer if you are using a Premium license.
Regards.