SetCellSpacing
Specifies the default table cell spacing (the spacing between adjacent cells and the edges of the table).
Inherited from ApiTablePr.SetCellSpacing.
Example
Specify the default table cell spacing.
// How to set the size of the cell spacing.
// Create a table and indicate its cell spacing.
let doc = Api.GetDocument();
let paragraph = doc.GetElement(0);
paragraph.AddText("We create a 3x3 table and set the cell spacing to half an inch:");
let tableStyle = doc.CreateStyle("CustomTableStyle", "table");
tableStyle.SetBasedOn(doc.GetStyle("Bordered"));
let tablePr = tableStyle.GetTablePr();
let table = Api.CreateTable(3, 3);
table.SetStyle(tableStyle);
tablePr.SetCellSpacing(720);
doc.Push(table);