Sometimes, if you insert a table into existing text, you would like to align the table to the paragraph indent.
Of course, this task can be done manually, but I thought it would be a good idea to perform this programmatically.
The method alignTable will do the task for you, it will need a valid table ID and the boolean parameter keepIndentInCells. The parameter is used to either keep or remove the indent from the paragraph in the table cells.
You can download the sample from our Source Code Library:
If you have any suggestions or comments please feel free to drop us a line.