Table of Contents

Method DeleteColumns

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DeleteColumns(int, int)

Takes columns out, as AutoCAD's DeleteColumns: their cells, their widths (142) and their count (92), as DeleteRows(int, int) takes rows out; the title merged across the columns of a table of two that loses the first is unmerged, the one cell left of its own empty text, as AutoCAD 2021 left it (D28e x5), Parts gone with the first. The rows AutoCAD merges across when it loads a file are merged at the first edit, as DeleteRows(int, int) says: the title of three columns left unmerged over empty cells, losing its middle column, is written merged across the two left (D33b m05, m12).

public void DeleteColumns(int col, int columns)

Parameters

col int

The first column taken out, from nought.

columns int

How many, one or more, one column at least left.

Exceptions

ArgumentOutOfRangeException

Thrown when the columns are not of the table's, or none or all of them are taken out.

InvalidOperationException

Thrown when the table's record does not hold its cells, heights and widths, or the table is erased.