TX Text Control Blog

Table Indent Alignment sample available

Blogged by Gunnar Giffey on February 26, 2009 and tagged with table, table alignment, indent, paragraph indent, c#, .net.

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:

Table Indent Alignment sample

If you have any suggestions or comments please feel free to drop us a line.

 
 
 

Products

Support

Downloads

Corporate

Buy Now