RemoveColumn
Removes a column containing the current cell.
Syntax
expression.RemoveColumn();
expression - A variable that represents an ApiTableCell class.
Parameters
This method doesn't have any parameters.
Returns
boolean
Example
Remove the column containing a cell in a PDF.
// Delete a table column by referencing one of its cells in a PDF.
// Get the first cell and remove its entire column in a PDF.
const doc = Api.GetDocument();
const page = doc.GetPage(0);
const table = Api.CreateTable(3, 3);
const cell = table.GetRow(0).GetCell(0);
const para = Api.CreateParagraph();
para.AddText('This column will be removed.');
cell.GetContent().Push(para);
cell.RemoveColumn();
page.AddObject(table);